forked from enlightenment/enlightenment
revert previous notification commit: better fix
SVN revision: 76242
This commit is contained in:
parent
eaa4d95910
commit
65c026e47e
|
@ -261,7 +261,6 @@ _notification_box_resize_handle(Notification_Box *b)
|
|||
Notification_Box_Icon *ic;
|
||||
Evas_Coord w, h;
|
||||
|
||||
if (!b) return;
|
||||
evas_object_geometry_get(b->o_box, NULL, NULL, &w, &h);
|
||||
if (e_box_orientation_get(b->o_box))
|
||||
w = h;
|
||||
|
|
|
@ -77,6 +77,10 @@ _gc_shutdown(E_Gadcon_Client *gcc)
|
|||
Instance *inst;
|
||||
|
||||
inst = gcc->data;
|
||||
evas_object_event_callback_del_full(inst->n_box->o_box, EVAS_CALLBACK_MOVE,
|
||||
notification_box_cb_obj_moveresize, inst);
|
||||
evas_object_event_callback_del_full(inst->n_box->o_box, EVAS_CALLBACK_RESIZE,
|
||||
notification_box_cb_obj_moveresize, inst);
|
||||
notification_box_visible_set(inst->n_box, EINA_FALSE);
|
||||
notification_cfg->instances = eina_list_remove(notification_cfg->instances, inst);
|
||||
free(inst);
|
||||
|
|
Loading…
Reference in New Issue