gentoo-overlay/xfce-extra/xfce4-power-manager/files/xfce4-power-manager-1.0.10-libnotify-0.7.patch

14 lines
446 B
Diff

diff --git a/src/xfpm-notify.c b/src/xfpm-notify.c
index c93a843..311b0fd 100644
--- a/src/xfpm-notify.c
+++ b/src/xfpm-notify.c
@@ -233,9 +233,6 @@ xfpm_notify_new_notification_internal (const gchar *title, const gchar *message,
#if !NOTIFY_CHECK_VERSION (0, 7, 0)
if ( icon )
notify_notification_attach_to_status_icon (n, icon);
-#else
- if ( icon )
- notify_notification_attach_to_status_icon (n, icon);
#endif
#endif