elementary/ctxpopup - wd could be deleted in the DISMISSED callback
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 1 Feb 2012 03:16:13 +0000 (03:16 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 1 Feb 2012 03:16:13 +0000 (03:16 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@67667 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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