summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_interface_atspi_accessible.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-15 14:44:41 +0100
committerTom Hacohen <tom@stosb.com>2016-08-15 15:07:42 +0100
commite65aae994e72c1d3f8ac6b5360d3772f177b77ef (patch)
tree7ecaf136e45470635889191aded2b47057720a98 /src/lib/elementary/elm_interface_atspi_accessible.c
parent35abb3c34d10a4826c98055fb85ecf93915e5ea8 (diff)
Eo: Finish the renaming of Eo to the EFL.
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/elm_interface_atspi_accessible.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/elementary/elm_interface_atspi_accessible.c b/src/lib/elementary/elm_interface_atspi_accessible.c
index a5f2d2f234..5bbfb48727 100644
--- a/src/lib/elementary/elm_interface_atspi_accessible.c
+++ b/src/lib/elementary/elm_interface_atspi_accessible.c
@@ -158,7 +158,7 @@ _elm_interface_atspi_accessible_index_in_parent_get(Eo *obj, Elm_Interface_Atspi
158 } 158 }
159 if (ret == (int)eina_list_count(children)) 159 if (ret == (int)eina_list_count(children))
160 { 160 {
161 ERR("Object %s not present in its AT-SPI parents (%s) children list! This should never happen.", eo_class_name_get(eo_class_get(obj)), eo_class_name_get(eo_class_get(parent))); 161 ERR("Object %s not present in its AT-SPI parents (%s) children list! This should never happen.", efl_class_name_get(efl_class_get(obj)), efl_class_name_get(efl_class_get(parent)));
162 ret = -1; 162 ret = -1;
163 } 163 }
164 eina_list_free(children); 164 eina_list_free(children);
@@ -173,28 +173,28 @@ _elm_interface_atspi_accessible_parent_get(Eo *obj EINA_UNUSED, Elm_Interface_At
173 173
174 do { 174 do {
175 parent = efl_parent_get(obj); 175 parent = efl_parent_get(obj);
176 if (eo_isa(parent, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN)) 176 if (efl_isa(parent, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN))
177 { 177 {
178 type = elm_interface_atspi_accessible_type_get(parent); 178 type = elm_interface_atspi_accessible_type_get(parent);
179 if (type != ELM_ATSPI_TYPE_SKIPPED) break; 179 if (type != ELM_ATSPI_TYPE_SKIPPED) break;
180 } 180 }
181 } while (parent); 181 } while (parent);
182 182
183 return eo_isa(parent, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN) ? parent : NULL; 183 return efl_isa(parent, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN) ? parent : NULL;
184} 184}
185 185
186EOLIAN static void 186EOLIAN static void
187_elm_interface_atspi_accessible_parent_set(Eo *obj, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED, Elm_Interface_Atspi_Accessible *new_parent EINA_UNUSED) 187_elm_interface_atspi_accessible_parent_set(Eo *obj, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED, Elm_Interface_Atspi_Accessible *new_parent EINA_UNUSED)
188{ 188{
189 WRN("The %s object does not implement the \"accessible_parent_set\" function.", 189 WRN("The %s object does not implement the \"accessible_parent_set\" function.",
190 eo_class_name_get(eo_class_get(obj))); 190 efl_class_name_get(efl_class_get(obj)));
191} 191}
192 192
193EOLIAN Eina_List* 193EOLIAN Eina_List*
194_elm_interface_atspi_accessible_attributes_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED) 194_elm_interface_atspi_accessible_attributes_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED)
195{ 195{
196 WRN("The %s object does not implement the \"accessible_attributes_set\" function.", 196 WRN("The %s object does not implement the \"accessible_attributes_set\" function.",
197 eo_class_name_get(eo_class_get(obj))); 197 efl_class_name_get(efl_class_get(obj)));
198 return NULL; 198 return NULL;
199} 199}
200 200
@@ -287,7 +287,7 @@ _elm_interface_atspi_accessible_children_get(Eo *obj EINA_UNUSED, Elm_Interface_
287 287
288 EINA_ITERATOR_FOREACH(iter, chld) 288 EINA_ITERATOR_FOREACH(iter, chld)
289 { 289 {
290 if (eo_isa(chld, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN)) 290 if (efl_isa(chld, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN))
291 children = eina_list_append(children, chld); 291 children = eina_list_append(children, chld);
292 } 292 }
293 eina_iterator_free(iter); 293 eina_iterator_free(iter);
@@ -325,9 +325,9 @@ _elm_interface_atspi_accessible_event_emit(Eo *class EINA_UNUSED, void *pd EINA_
325 Elm_Atspi_Event_Handler *hdl; 325 Elm_Atspi_Event_Handler *hdl;
326 Elm_Atspi_Type type; 326 Elm_Atspi_Type type;
327 327
328 if (!accessible || !event || !eo_isa(accessible, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN)) 328 if (!accessible || !event || !efl_isa(accessible, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN))
329 { 329 {
330 CRI("Invalid parameters, event: %s, obj: %s", event ? event->name : "NULL", accessible ? eo_class_name_get(accessible) : "NULL"); 330 CRI("Invalid parameters, event: %s, obj: %s", event ? event->name : "NULL", accessible ? efl_class_name_get(accessible) : "NULL");
331 return; 331 return;
332 } 332 }
333 333
@@ -443,7 +443,7 @@ elm_atspi_relation_set_relation_append(Elm_Atspi_Relation_Set *set, Elm_Atspi_Re
443 Elm_Atspi_Relation *rel; 443 Elm_Atspi_Relation *rel;
444 Eina_List *l; 444 Eina_List *l;
445 445
446 if (!eo_isa(rel_obj, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN)) 446 if (!efl_isa(rel_obj, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN))
447 return EINA_FALSE; 447 return EINA_FALSE;
448 448
449 EINA_LIST_FOREACH(*set, l, rel) 449 EINA_LIST_FOREACH(*set, l, rel)
@@ -572,7 +572,7 @@ EOLIAN Eo*
572_elm_interface_atspi_accessible_root_get(Eo *class EINA_UNUSED, void *pd EINA_UNUSED) 572_elm_interface_atspi_accessible_root_get(Eo *class EINA_UNUSED, void *pd EINA_UNUSED)
573{ 573{
574 if (!root) 574 if (!root)
575 root = eo_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL); 575 root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL);
576 576
577 return root; 577 return root;
578} 578}