billiob pushed a commit to branch master.

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

commit 11f8c10367c2e99d455032487f08f41adca312c8
Author: Boris Faure <bo...@fau.re>
Date:   Fri Oct 10 11:33:17 2014 +0200

    notification: don't segv if no zone found to place the popup
    
    @fix
---
 src/modules/notification/e_mod_popup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/notification/e_mod_popup.c 
b/src/modules/notification/e_mod_popup.c
index b0b9cbd..d43f49f 100644
--- a/src/modules/notification/e_mod_popup.c
+++ b/src/modules/notification/e_mod_popup.c
@@ -291,6 +291,7 @@ _notification_popup_place(Popup_Data *popup, int pos)
    if (!popup->win) return pos;
    evas_object_geometry_get(popup->win, NULL, NULL, &w, &h);
    zone = e_comp_object_util_zone_get(popup->win);
+   if (!zone) return pos;
    _notification_popup_place_coords_get(zone->w, zone->h, w, h, pos, &x, &y);
    evas_object_move(popup->win, x, y);
    EINA_LIST_FOREACH(popup->mirrors, l, o)

-- 


Reply via email to