From: hermet Date: Tue, 13 Mar 2012 01:04:42 +0000 (+0000) Subject: elementary/ctxpopup - hide ctxpopup obj after it is dismissed X-Git-Tag: REL_F_I9500_20120323_1~17^2~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ace6e10efaaf421fc65536d7705a202045ffa8c;p=framework%2Fuifw%2Felementary.git elementary/ctxpopup - hide ctxpopup obj after it is dismissed git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69274 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c index d0a628a..425081b 100644 --- a/src/lib/elc_ctxpopup.c +++ b/src/lib/elc_ctxpopup.c @@ -110,7 +110,6 @@ static void _hide_finished(void *data, Evas_Object *obj, const char *emission, const char *source __UNUSED__); -static void _hide(Evas_Object *obj); static void _ctxpopup_hide(void *data, Evas *e, Evas_Object *obj, @@ -266,7 +265,7 @@ _parent_resize(void *data, wd->dir = ELM_CTXPOPUP_DIRECTION_UNKNOWN; - _hide(data); + evas_object_hide(data); } static void @@ -1057,14 +1056,8 @@ static void _hide_finished(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__) { - _hide(data); -} - -static void -_hide(Evas_Object *obj) -{ - _ctxpopup_hide(NULL, NULL, obj, NULL); - evas_object_smart_callback_call(obj, SIG_DISMISSED, NULL); + evas_object_hide(data); + evas_object_smart_callback_call(data, SIG_DISMISSED, NULL); } static void