diff options
Diffstat (limited to 'xfce-extra/xfce4-power-manager/files/xfce4-power-manager-1.0.3-libnotify-0.7.patch')
-rw-r--r-- | xfce-extra/xfce4-power-manager/files/xfce4-power-manager-1.0.3-libnotify-0.7.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-power-manager/files/xfce4-power-manager-1.0.3-libnotify-0.7.patch b/xfce-extra/xfce4-power-manager/files/xfce4-power-manager-1.0.3-libnotify-0.7.patch new file mode 100644 index 000000000000..206524a507be --- /dev/null +++ b/xfce-extra/xfce4-power-manager/files/xfce4-power-manager-1.0.3-libnotify-0.7.patch @@ -0,0 +1,27 @@ +http://bugzilla.xfce.org/show_bug.cgi?id=7205 + +--- src/xfpm-notify.c ++++ src/xfpm-notify.c +@@ -209,13 +209,20 @@ + { + NotifyNotification *n; + +- n = notify_notification_new (title, message, NULL, NULL); ++ n = notify_notification_new (title, message, NULL ++#ifdef HAVE_LIBNOTIFY_07 ++ ); ++#else ++ , NULL); ++#endif + + if ( icon_name ) + xfpm_notify_set_notification_icon (n, icon_name); +- ++ ++#ifndef HAVE_LIBNOTIFY_07 + if ( icon ) + notify_notification_attach_to_status_icon (n, icon); ++#endif + + notify_notification_set_urgency (n, (NotifyUrgency)urgency); + |