From 2047075b66751ccef7cb2234e338f6acb93810e3 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 25 Jun 2014 13:26:18 -0400 Subject: [PATCH] remove notification theme fallback this will never fail since the default theme provides it --- src/modules/notification/e_mod_popup.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/modules/notification/e_mod_popup.c b/src/modules/notification/e_mod_popup.c index 3e2ce0631..eb896f0f2 100644 --- a/src/modules/notification/e_mod_popup.c +++ b/src/modules/notification/e_mod_popup.c @@ -233,13 +233,9 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id) popup->theme = edje_object_add(popup->e); evas_object_name_set(popup->theme, "noshadow_notification"); - if (!e_theme_edje_object_set(popup->theme, - "base/theme/modules/notification", - "e/modules/notification/main")) - if (!e_theme_edje_object_set(popup->theme, - "base/theme/modules/notification", - "modules/notification/main")) - edje_object_file_set(popup->theme, buf, "modules/notification/main"); + e_theme_edje_object_set(popup->theme, + "base/theme/modules/notification", + "e/modules/notification/main"); /* Create the popup window */ popup->win = e_comp_object_util_add(popup->theme, E_COMP_OBJECT_TYPE_POPUP);