summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@yahoo.com>2017-05-21 11:16:11 +0300
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2017-05-21 11:16:11 +0300
commitb02dee10174e12f5967160ee502bdf292425399f (patch)
treed2fe1e4be74c14bb1e7096e48ecfb07878081f31
parentce0ba43f9504deedef4ebda636c2c16f289f1081 (diff)
Don't use efl_isa on WIDGET_CLASS as it crashes
-rw-r--r--src/lib/eo_debug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/eo_debug.c b/src/lib/eo_debug.c
index 17a836d..f00f6c7 100644
--- a/src/lib/eo_debug.c
+++ b/src/lib/eo_debug.c
@@ -80,8 +80,7 @@ _eoids_walk_cb(void *_data, Eo *obj)
80 u64 = (uint64_t)efl_class_get(obj); 80 u64 = (uint64_t)efl_class_get(obj);
81 STORE(data->buf, &u64, sizeof(u64)); 81 STORE(data->buf, &u64, sizeof(u64));
82 82
83 if (efl_isa(obj, ELM_WIDGET_CLASS)) 83 parent = elm_object_parent_widget_get(obj);
84 parent = elm_widget_parent_get(obj);
85 if (!parent && efl_isa(obj, EFL_CANVAS_OBJECT_CLASS)) 84 if (!parent && efl_isa(obj, EFL_CANVAS_OBJECT_CLASS))
86 { 85 {
87 parent = evas_object_data_get(obj, "elm-parent"); 86 parent = evas_object_data_get(obj, "elm-parent");