summaryrefslogtreecommitdiff
path: root/extra/xfce4-power-manager/xfce4-power-manager-1.0.10-libnotify-0.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xfce4-power-manager/xfce4-power-manager-1.0.10-libnotify-0.7.patch')
-rw-r--r--extra/xfce4-power-manager/xfce4-power-manager-1.0.10-libnotify-0.7.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/xfce4-power-manager/xfce4-power-manager-1.0.10-libnotify-0.7.patch b/extra/xfce4-power-manager/xfce4-power-manager-1.0.10-libnotify-0.7.patch
new file mode 100644
index 000000000..60cdf27c5
--- /dev/null
+++ b/extra/xfce4-power-manager/xfce4-power-manager-1.0.10-libnotify-0.7.patch
@@ -0,0 +1,14 @@
+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
+