summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2015-11-25 14:01:44 +0100
committerLukasz Stanislawski <l.stanislaws@samsung.com>2015-11-25 14:06:53 +0100
commite2febed80109c6da8bffaf779e1cba018687598c (patch)
treead0eb9b8442012acec20443c6d0670c989090326
parent8eff7ce777b30097e5d135efe5d96ce822d80dfe (diff)
atspi: fix default text attribute signature
-rw-r--r--src/lib/elm_atspi_bridge.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/elm_atspi_bridge.c b/src/lib/elm_atspi_bridge.c
index 59a6c98f1..92ccd8a41 100644
--- a/src/lib/elm_atspi_bridge.c
+++ b/src/lib/elm_atspi_bridge.c
@@ -1455,7 +1455,6 @@ _text_default_attributes_get(const Eldbus_Service_Interface *iface, const Eldbus
1455 const char *obj_path = eldbus_message_path_get(msg); 1455 const char *obj_path = eldbus_message_path_get(msg);
1456 Eo *bridge = eldbus_service_object_data_get(iface, ELM_ATSPI_BRIDGE_CLASS_NAME); 1456 Eo *bridge = eldbus_service_object_data_get(iface, ELM_ATSPI_BRIDGE_CLASS_NAME);
1457 Eo *obj = _bridge_object_from_path(bridge, obj_path); 1457 Eo *obj = _bridge_object_from_path(bridge, obj_path);
1458 int start = -1, end;
1459 Eldbus_Message *ret; 1458 Eldbus_Message *ret;
1460 Eldbus_Message_Iter *iter, *iter_array; 1459 Eldbus_Message_Iter *iter, *iter_array;
1461 Eina_List *attrs; 1460 Eina_List *attrs;
@@ -1470,7 +1469,7 @@ _text_default_attributes_get(const Eldbus_Service_Interface *iface, const Eldbus
1470 iter_array = eldbus_message_iter_container_new(iter, 'a', "{ss}"); 1469 iter_array = eldbus_message_iter_container_new(iter, 'a', "{ss}");
1471 EINA_SAFETY_ON_NULL_GOTO(iter_array, fail); 1470 EINA_SAFETY_ON_NULL_GOTO(iter_array, fail);
1472 1471
1473 eo_do(obj, attrs = elm_interface_atspi_text_attributes_get(&start, &end)); 1472 eo_do(obj, attrs = elm_interface_atspi_text_default_attributes_get());
1474 1473
1475 EINA_LIST_FREE(attrs, attr) 1474 EINA_LIST_FREE(attrs, attr)
1476 { 1475 {
@@ -1479,7 +1478,6 @@ _text_default_attributes_get(const Eldbus_Service_Interface *iface, const Eldbus
1479 } 1478 }
1480 1479
1481 eldbus_message_iter_container_close(iter, iter_array); 1480 eldbus_message_iter_container_close(iter, iter_array);
1482 eldbus_message_iter_arguments_append(iter, "ii", start, end);
1483 1481
1484 return ret; 1482 return ret;
1485 1483