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
This commit is contained in:
Jonathan Atton 2009-09-23 22:48:54 +00:00
parent 813e21f3f4
commit c85b70fc50
1 changed files with 0 additions and 15 deletions

View File

@ -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);