summaryrefslogtreecommitdiff
path: root/community/awn-extras-applets/awn-extras-libnotify0.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/awn-extras-applets/awn-extras-libnotify0.7.patch')
-rw-r--r--community/awn-extras-applets/awn-extras-libnotify0.7.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/community/awn-extras-applets/awn-extras-libnotify0.7.patch b/community/awn-extras-applets/awn-extras-libnotify0.7.patch
deleted file mode 100644
index 63b282b70..000000000
--- a/community/awn-extras-applets/awn-extras-libnotify0.7.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -aur awn-extras-0.4.0/applets/maintained/notification-daemon/daemon.c awn-extras-0.4.0-new//applets/maintained/notification-daemon/daemon.c
---- awn-extras-0.4.0/applets/maintained/notification-daemon/daemon.c 2010-04-09 16:26:20.000000000 -0700
-+++ awn-extras-0.4.0-new//applets/maintained/notification-daemon/daemon.c 2011-03-06 09:33:33.603336393 -0800
-@@ -1487,7 +1487,15 @@
- if (fork() == 0)
- {
- notify_init("notify-send");
-- notify = notify_notification_new(summary, body, icon_str, NULL);
-+ #ifdef NOTIFY_CHECK_VERSION
-+ #if NOTIFY_CHECK_VERSION (0, 7, 0)
-+ notify = notify_notification_new(summary, body, icon_str);
-+ #else
-+ notify = notify_notification_new(summary, body, icon_str, NULL);
-+ #endif
-+ #else
-+ notify = notify_notification_new(summary, body, icon_str, NULL);
-+ #endif
- notify_notification_set_category(notify, type);
- notify_notification_set_urgency(notify, urgency);
- notify_notification_set_timeout(notify, expire_timeout);