[ctxpopup] bugfix: dismiss(hide) callback is called before item selected callback...
authorcinoo.kim <cinoo.kim@samsung.com>
Wed, 2 Mar 2011 05:45:13 +0000 (14:45 +0900)
committercinoo.kim <cinoo.kim@samsung.com>
Wed, 2 Mar 2011 05:45:13 +0000 (14:45 +0900)
Change-Id: I8e48022adc41106731563228bc68c320dcb1c6ab

src/lib/elc_ctxpopup.c

index c7be850..464df3b 100644 (file)
@@ -861,8 +861,8 @@ _item_select_cb(void *data, Evas_Object *obj __UNUSED__,
 
    if (item->func)
    {
-      evas_object_hide(item->base.widget);
       item->func((void*) item->base.data, item->base.widget, data);
+      evas_object_hide(item->base.widget);
    }
 }