remove E_Comp usage from notification popups

This commit is contained in:
Mike Blumenkrantz 2015-03-18 17:35:18 -04:00
parent ef7f313de6
commit 72fccba018
1 changed files with 1 additions and 3 deletions

View File

@ -289,7 +289,6 @@ _notification_popup_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EIN
static Popup_Data * static Popup_Data *
_notification_popup_new(E_Notification_Notify *n, unsigned id) _notification_popup_new(E_Notification_Notify *n, unsigned id)
{ {
E_Comp *comp;
Popup_Data *popup; Popup_Data *popup;
char buf[PATH_MAX]; char buf[PATH_MAX];
Eina_List *l; Eina_List *l;
@ -299,8 +298,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id)
switch (notification_cfg->dual_screen) switch (notification_cfg->dual_screen)
{ {
case POPUP_DISPLAY_POLICY_FIRST: case POPUP_DISPLAY_POLICY_FIRST:
comp = e_comp; zone = eina_list_data_get(e_comp->zones);
zone = eina_list_data_get(comp->zones);
break; break;
case POPUP_DISPLAY_POLICY_CURRENT: case POPUP_DISPLAY_POLICY_CURRENT:
case POPUP_DISPLAY_POLICY_ALL: case POPUP_DISPLAY_POLICY_ALL: