summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-extra/xfce4-volumed/files/xfce4-volumed-0.1.11-libnotify-0.7.patch')
-rw-r--r--xfce-extra/xfce4-volumed/files/xfce4-volumed-0.1.11-libnotify-0.7.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-volumed/files/xfce4-volumed-0.1.11-libnotify-0.7.patch b/xfce-extra/xfce4-volumed/files/xfce4-volumed-0.1.11-libnotify-0.7.patch
new file mode 100644
index 000000000000..5415354a781b
--- /dev/null
+++ b/xfce-extra/xfce4-volumed/files/xfce4-volumed-0.1.11-libnotify-0.7.patch
@@ -0,0 +1,25 @@
+http://bugs.launchpad.net/xfce4-volumed/+bug/671915
+
+--- src/xvd_notify.c
++++ src/xvd_notify.c
+@@ -117,11 +117,15 @@
+ g_list_free (caps_list);
+ }
+
+- Inst->notification = notify_notification_new (
+- "Xfce4-Volumed",
+- NULL,
+- NULL,
+- NULL);
++#ifdef NOTIFY_CHECK_VERSION
++#if NOTIFY_CHECK_VERSION (0, 7, 0)
++ Inst->notification = notify_notification_new ("Xfce4-Volumed", NULL, NULL);
++#else
++ Inst->notification = notify_notification_new ("Xfce4-Volumed", NULL, NULL, NULL);
++#endif
++#else
++ Inst->notification = notify_notification_new ("Xfce4-Volumed", NULL, NULL, NULL);
++#endif
+ }
+
+ void