notification: don't segv if no zone found to place the popup
@fix
This commit is contained in:
parent
e93a5ce646
commit
11f8c10367
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue