elementary/ctxpopup - wd could be deleted in the DISMISSED callback
authorChunEon Park <hermet@hermet.pe.kr>
Wed, 1 Feb 2012 03:16:13 +0000 (03:16 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Wed, 1 Feb 2012 03:16:13 +0000 (03:16 +0000)
SVN revision: 67667

src/lib/elc_ctxpopup.c

index 6083872..3f6e0d9 100644 (file)
@@ -1035,8 +1035,8 @@ _hide(Evas_Object *obj)
 
    _scroller_size_reset(wd);
 
-   evas_object_smart_callback_call(obj, SIG_DISMISSED, NULL);
    wd->visible = EINA_FALSE;
+   evas_object_smart_callback_call(obj, SIG_DISMISSED, NULL);
 }
 
 static void