From: Jonathan Atton Date: Wed, 23 Sep 2009 22:48:54 +0000 (+0000) Subject: elm notify, remove the callbacks mouse,in/out , it is not necessary as the user can... X-Git-Tag: v1.0.0~5214 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=927ba97cb56a1208519b8609b9f87fd89e63ed21;p=platform%2Fupstream%2Felementary.git elm notify, remove the callbacks mouse,in/out , it is not necessary as the user can set a callback on the content SVN revision: 42659 --- diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c index e009131..4def6d6 100644 --- a/src/lib/elm_notify.c +++ b/src/lib/elm_notify.c @@ -183,19 +183,6 @@ _hide(void *data, Evas *e, Evas_Object *obj, void *event_info) } } - static void -_mouse_in(void *data, Evas *e, Evas_Object *obj, void *event_info) -{ - evas_object_smart_callback_call(data, "mouse,in", NULL); -} - - - static void -_mouse_out(void *data, Evas *e, Evas_Object *obj, void *event_info) -{ - evas_object_smart_callback_call(data, "mouse,out", NULL); -} - /** * Add a new notify to the parent * @@ -222,8 +209,6 @@ elm_notify_add(Evas_Object *parent) wd->notify = edje_object_add(e); elm_notify_orient_set(obj, ELM_NOTIFY_ORIENT_TOP); - evas_object_event_callback_add(wd->notify, EVAS_CALLBACK_MOUSE_IN, _mouse_in, obj); - evas_object_event_callback_add(wd->notify, EVAS_CALLBACK_MOUSE_OUT, _mouse_out, obj); evas_object_smart_callback_add(obj, "sub-object-del", _sub_del, obj); evas_object_event_callback_add(obj, EVAS_CALLBACK_RESIZE, _resize, obj);