forked from enlightenment/efl
popup: Delete useless restack cb.
Summary: This restack callback added for support previous tree [parent - notify - popup]. The popup has been redesigned to have correct tree [parent -popup - notify]. So the restack callback does not need anymore. Test Plan: 1. Run elementary_test 2. Execute popup sample. 3. Activate popup which has restack feature. 4. Check the result. Reviewers: seoz, woohyun, Hermet Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D2127
This commit is contained in:
parent
ed6e7043a7
commit
325513c396
|
@ -554,17 +554,6 @@ _layout_change_cb(void *data EINA_UNUSED,
|
|||
elm_layout_sizing_eval(obj);
|
||||
}
|
||||
|
||||
static void
|
||||
_restack_cb(void *data EINA_UNUSED,
|
||||
Evas *e EINA_UNUSED,
|
||||
Evas_Object *obj,
|
||||
void *event_info EINA_UNUSED)
|
||||
{
|
||||
ELM_POPUP_DATA_GET(obj, sd);
|
||||
|
||||
evas_object_raise(sd->notify);
|
||||
}
|
||||
|
||||
static void
|
||||
_list_add(Evas_Object *obj)
|
||||
{
|
||||
|
@ -1398,9 +1387,6 @@ _elm_popup_evas_object_smart_add(Eo *obj, Elm_Popup_Data *priv)
|
|||
|
||||
evas_object_event_callback_add(obj, EVAS_CALLBACK_SHOW, _on_show, NULL);
|
||||
|
||||
evas_object_event_callback_add
|
||||
(obj, EVAS_CALLBACK_RESTACK, _restack_cb, NULL);
|
||||
|
||||
elm_layout_signal_callback_add
|
||||
(priv->main_layout, "elm,state,title_area,visible", "elm", _layout_change_cb, NULL);
|
||||
elm_layout_signal_callback_add
|
||||
|
|
Loading…
Reference in New Issue