aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_name.c')
-rw-r--r--src/lib/evas/canvas/evas_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_name.c b/src/lib/evas/canvas/evas_name.c
index 373d055dfe..f3933c81b9 100644
--- a/src/lib/evas/canvas/evas_name.c
+++ b/src/lib/evas/canvas/evas_name.c
@@ -44,7 +44,7 @@ _priv_evas_object_name_child_find(const Evas_Object *eo_obj, const char *name, i
const Eina_Inlist *lst;
Evas_Object_Protected_Data *child;
- if (!eo_isa(eo_obj, EVAS_OBJECT_SMART_CLASS)) return NULL;
+ if (!eo_isa(eo_obj, EFL_CANVAS_GROUP_CLASS)) return NULL;
lst = evas_object_smart_members_get_direct(eo_obj);
EINA_INLIST_FOREACH(lst, child)
{