summaryrefslogtreecommitdiff
path: root/extra/gnome-bluetooth/gnome-bluetooth-2.32.0-libnotify-0.7.patch
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/gnome-bluetooth/gnome-bluetooth-2.32.0-libnotify-0.7.patch
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/gnome-bluetooth/gnome-bluetooth-2.32.0-libnotify-0.7.patch')
-rw-r--r--extra/gnome-bluetooth/gnome-bluetooth-2.32.0-libnotify-0.7.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/gnome-bluetooth/gnome-bluetooth-2.32.0-libnotify-0.7.patch b/extra/gnome-bluetooth/gnome-bluetooth-2.32.0-libnotify-0.7.patch
new file mode 100644
index 000000000..72a726521
--- /dev/null
+++ b/extra/gnome-bluetooth/gnome-bluetooth-2.32.0-libnotify-0.7.patch
@@ -0,0 +1,27 @@
+--- applet/notify.c
++++ applet/notify.c
+@@ -31,6 +31,10 @@
+ #include <libnotify/notify.h>
+ #include "notify.h"
+
++#ifndef NOTIFY_CHECK_VERSION
++#define NOTIFY_CHECK_VERSION(x,y,z) 0
++#endif
++
+ static GtkStatusIcon *statusicon = NULL;
+ static char *icon_name = NULL;
+ static char *tooltip = NULL;
+@@ -71,7 +75,12 @@
+ notify_notification_close(notify, NULL);
+ }
+
+- notify = notify_notification_new(summary, message, icon_name, NULL);
++ notify = notify_notification_new(summary, message, icon_name
++#if NOTIFY_CHECK_VERSION (0, 7, 0)
++ );
++#else
++ , NULL);
++#endif
+
+ notify_notification_set_timeout(notify, timeout);
+