discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=c8b47cf2cb4fea8d9e065974763fdc0ef19aa165

commit c8b47cf2cb4fea8d9e065974763fdc0ef19aa165
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Sep 14 13:14:06 2015 -0400

    delete notification mirror objects upon deleting original popup
    
    fix T2722
---
 src/modules/notification/e_mod_popup.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/modules/notification/e_mod_popup.c 
b/src/modules/notification/e_mod_popup.c
index cee055f..2f30e8a 100644
--- a/src/modules/notification/e_mod_popup.c
+++ b/src/modules/notification/e_mod_popup.c
@@ -477,7 +477,8 @@ _notification_popup_new(E_Notification_Notify *n, unsigned 
id)
              int x, y, w, h;
 
              if (zone == e_comp_object_util_zone_get(popup->win)) continue;
-             o = e_comp_object_util_mirror_add(popup->win);
+             o = e_comp_object_util_mirror_add(popup->theme);
+             o = e_comp_object_util_add(o, E_COMP_OBJECT_TYPE_POPUP);
              evas_object_name_set(o, "notification_mirror");
              evas_object_data_set(o, "zone", zone);
              evas_object_geometry_get(popup->win, NULL, NULL, &w, &h);
@@ -729,7 +730,7 @@ _notification_popdown(Popup_Data                  *popup,
                       E_Notification_Notify_Closed_Reason reason)
 {
    E_FREE_FUNC(popup->timer, ecore_timer_del);
-   popup->mirrors = eina_list_free(popup->mirrors);
+   E_FREE_LIST(popup->mirrors, evas_object_del);
    if (popup->win)
      {
         evas_object_hide(popup->win);

-- 


Reply via email to