summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_access_object.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_access_object.c')
-rw-r--r--src/lib/elementary/efl_access_object.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/elementary/efl_access_object.c b/src/lib/elementary/efl_access_object.c
index b962627..cbc9673 100644
--- a/src/lib/elementary/efl_access_object.c
+++ b/src/lib/elementary/efl_access_object.c
@@ -146,7 +146,7 @@ _efl_access_object_index_in_parent_get(const Eo *obj, Efl_Access_Object_Data *pd
146 Eo *chld, *parent = NULL; 146 Eo *chld, *parent = NULL;
147 int ret = 0; 147 int ret = 0;
148 148
149 parent = efl_provider_find(efl_parent_get(obj), EFL_ACCESS_OBJECT_MIXIN); 149 parent = efl_provider_find(efl_parent_get(obj), EFL_ACCESS_OBJECT_CLASS);
150 if (!parent) return -1; 150 if (!parent) return -1;
151 151
152 children = efl_access_object_access_children_get(parent); 152 children = efl_access_object_access_children_get(parent);
@@ -173,14 +173,14 @@ _efl_access_object_efl_object_provider_find(const Eo *obj, Efl_Access_Object_Dat
173{ 173{
174 if (efl_isa(obj, klass)) 174 if (efl_isa(obj, klass))
175 { 175 {
176 if (klass == EFL_ACCESS_OBJECT_MIXIN) 176 if (klass == EFL_ACCESS_OBJECT_CLASS)
177 { 177 {
178 Efl_Access_Type type = efl_access_object_access_type_get(obj); 178 Efl_Access_Type type = efl_access_object_access_type_get(obj);
179 if (type != EFL_ACCESS_TYPE_SKIPPED) return (Eo*)obj; 179 if (type != EFL_ACCESS_TYPE_SKIPPED) return (Eo*)obj;
180 } 180 }
181 else return (Eo*)obj; 181 else return (Eo*)obj;
182 } 182 }
183 return efl_provider_find(efl_super(obj, EFL_ACCESS_OBJECT_MIXIN), klass); 183 return efl_provider_find(efl_super(obj, EFL_ACCESS_OBJECT_CLASS), klass);
184} 184}
185 185
186EOLIAN Eina_List* 186EOLIAN Eina_List*
@@ -363,7 +363,7 @@ _efl_access_object_access_children_get(const Eo *obj, Efl_Access_Object_Data *pd
363 363
364 EINA_ITERATOR_FOREACH(iter, chld) 364 EINA_ITERATOR_FOREACH(iter, chld)
365 { 365 {
366 if (efl_isa(chld, EFL_ACCESS_OBJECT_MIXIN)) 366 if (efl_isa(chld, EFL_ACCESS_OBJECT_CLASS))
367 children = eina_list_append(children, chld); 367 children = eina_list_append(children, chld);
368 } 368 }
369 eina_iterator_free(iter); 369 eina_iterator_free(iter);
@@ -401,7 +401,7 @@ _efl_access_object_event_emit(Eo *class EINA_UNUSED, void *pd EINA_UNUSED, Eo *a
401 Efl_Access_Event_Handler *hdl; 401 Efl_Access_Event_Handler *hdl;
402 Efl_Access_Type type; 402 Efl_Access_Type type;
403 403
404 if (!accessible || !event || !efl_isa(accessible, EFL_ACCESS_OBJECT_MIXIN)) 404 if (!accessible || !event || !efl_isa(accessible, EFL_ACCESS_OBJECT_CLASS))
405 { 405 {
406 CRI("Invalid parameters, event: %s, obj: %s", event ? event->name : "NULL", accessible ? efl_class_name_get(accessible) : "NULL"); 406 CRI("Invalid parameters, event: %s, obj: %s", event ? event->name : "NULL", accessible ? efl_class_name_get(accessible) : "NULL");
407 return; 407 return;
@@ -610,7 +610,7 @@ _efl_access_object_access_type_set(Eo *obj, Efl_Access_Object_Data *pd, Efl_Acce
610 if (val == pd->type) 610 if (val == pd->type)
611 return; 611 return;
612 612
613 parent = efl_provider_find(efl_parent_get(obj), EFL_ACCESS_OBJECT_MIXIN); 613 parent = efl_provider_find(efl_parent_get(obj), EFL_ACCESS_OBJECT_CLASS);
614 614
615 switch (val) 615 switch (val)
616 { 616 {
@@ -631,7 +631,7 @@ _efl_access_object_efl_object_invalidate(Eo *obj, Efl_Access_Object_Data *pd)
631{ 631{
632 efl_access_relation_set_free(pd); 632 efl_access_relation_set_free(pd);
633 633
634 efl_invalidate(efl_super(obj, EFL_ACCESS_OBJECT_MIXIN)); 634 efl_invalidate(efl_super(obj, EFL_ACCESS_OBJECT_CLASS));
635} 635}
636 636
637EOLIAN void 637EOLIAN void
@@ -641,7 +641,7 @@ _efl_access_object_efl_object_destructor(Eo *obj, Efl_Access_Object_Data *pd)
641 eina_stringshare_del(pd->description); 641 eina_stringshare_del(pd->description);
642 eina_stringshare_del(pd->translation_domain); 642 eina_stringshare_del(pd->translation_domain);
643 643
644 efl_destructor(efl_super(obj, EFL_ACCESS_OBJECT_MIXIN)); 644 efl_destructor(efl_super(obj, EFL_ACCESS_OBJECT_CLASS));
645} 645}
646 646
647void 647void