summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_smart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_object_smart.c')
-rw-r--r--src/lib/evas/canvas/evas_object_smart.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_object_smart.c b/src/lib/evas/canvas/evas_object_smart.c
index 11d8feb8cb..7f0daf7331 100644
--- a/src/lib/evas/canvas/evas_object_smart.c
+++ b/src/lib/evas/canvas/evas_object_smart.c
@@ -1225,9 +1225,8 @@ _efl_canvas_group_group_change(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED)
1225} 1225}
1226 1226
1227Eina_Bool 1227Eina_Bool
1228evas_object_smart_changed_get(Evas_Object *eo_obj) 1228evas_object_smart_changed_get(Evas_Object_Protected_Data *obj)
1229{ 1229{
1230 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
1231 Eina_Bool has_map = EINA_FALSE; 1230 Eina_Bool has_map = EINA_FALSE;
1232 1231
1233 /* If object is invisible, it's meaningless to figure out changed state 1232 /* If object is invisible, it's meaningless to figure out changed state
@@ -1263,8 +1262,8 @@ evas_object_smart_changed_get(Evas_Object *eo_obj)
1263 { 1262 {
1264 Evas_Object_Protected_Data *o2; 1263 Evas_Object_Protected_Data *o2;
1265 1264
1266 EINA_INLIST_FOREACH(evas_object_smart_members_get_direct(eo_obj), o2) 1265 EINA_INLIST_FOREACH(evas_object_smart_members_get_direct(obj->object), o2)
1267 if (evas_object_smart_changed_get(o2->object)) return EINA_TRUE; 1266 if (evas_object_smart_changed_get(o2)) return EINA_TRUE;
1268 } 1267 }
1269 1268
1270 return EINA_FALSE; 1269 return EINA_FALSE;