summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwoochan lee <wc0917.lee@samsung.com>2015-03-10 16:17:49 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-03-10 16:17:49 +0900
commit9f90c55aa9a0192de17cb42c1e018114590d6a78 (patch)
treecda0916760c4801b559cc128217a7983d7704351
parentaeeef70cfbc6d589262024105b52ae2c07336ecd (diff)
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
-rw-r--r--src/lib/elc_popup.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index 5ab938d74..6683f4b2a 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -555,17 +555,6 @@ _layout_change_cb(void *data EINA_UNUSED,
555} 555}
556 556
557static void 557static void
558_restack_cb(void *data EINA_UNUSED,
559 Evas *e EINA_UNUSED,
560 Evas_Object *obj,
561 void *event_info EINA_UNUSED)
562{
563 ELM_POPUP_DATA_GET(obj, sd);
564
565 evas_object_raise(sd->notify);
566}
567
568static void
569_list_add(Evas_Object *obj) 558_list_add(Evas_Object *obj)
570{ 559{
571 char style[1024]; 560 char style[1024];
@@ -1398,9 +1387,6 @@ _elm_popup_evas_object_smart_add(Eo *obj, Elm_Popup_Data *priv)
1398 1387
1399 evas_object_event_callback_add(obj, EVAS_CALLBACK_SHOW, _on_show, NULL); 1388 evas_object_event_callback_add(obj, EVAS_CALLBACK_SHOW, _on_show, NULL);
1400 1389
1401 evas_object_event_callback_add
1402 (obj, EVAS_CALLBACK_RESTACK, _restack_cb, NULL);
1403
1404 elm_layout_signal_callback_add 1390 elm_layout_signal_callback_add
1405 (priv->main_layout, "elm,state,title_area,visible", "elm", _layout_change_cb, NULL); 1391 (priv->main_layout, "elm,state,title_area,visible", "elm", _layout_change_cb, NULL);
1406 elm_layout_signal_callback_add 1392 elm_layout_signal_callback_add