aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-05 22:55:16 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-05 22:55:16 +0900
commit38ba68a7c76784e86a7016efd1e69af251b62381 (patch)
treea579149cbac7d0312128dd6ed9adedaf787a7eb2
parentevas event handling2 - fix incorrect object reporting (diff)
downloadefl-38ba68a7c76784e86a7016efd1e69af251b62381.tar.gz
elm widget - stop segv during shutdown when objects become deleted
@fix
-rw-r--r--src/lib/elementary/elm_widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 18844f18a9..d347bdcc27 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -255,7 +255,7 @@ _on_sub_obj_hide(void *data EINA_UNUSED, const Eo_Event *event)
static void
_on_sub_obj_del(void *data, const Eo_Event *event)
{
- ELM_WIDGET_DATA_GET(data, sd);
+ ELM_WIDGET_DATA_GET_OR_RETURN(data, sd);
if (_elm_widget_is(event->object))
{