hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=9f90c55aa9a0192de17cb42c1e018114590d6a78

commit 9f90c55aa9a0192de17cb42c1e018114590d6a78
Author: woochan lee <wc0917....@samsung.com>
Date:   Tue Mar 10 16:17:49 2015 +0900

    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
---
 src/lib/elc_popup.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index 5ab938d..6683f4b 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -555,17 +555,6 @@ _layout_change_cb(void *data EINA_UNUSED,
 }
 
 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)
 {
    char style[1024];
@@ -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

-- 


Reply via email to