1 |
ssuominen 11/01/30 17:26:44 |
2 |
|
3 |
Added: |
4 |
avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch |
5 |
Log: |
6 |
Fix building with x11-libs/libnotify >= 0.7. Punt useless .la files. drop old, broken |
7 |
|
8 |
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch |
17 |
=================================================================== |
18 |
--- src/libawn-extras/notify.c |
19 |
+++ src/libawn-extras/notify.c |
20 |
@@ -43,7 +43,15 @@ |
21 |
expire_timeout=timeout; |
22 |
} |
23 |
notify_init("notify-send"); |
24 |
+#ifdef NOTIFY_CHECK_VERSION |
25 |
+#if NOTIFY_CHECK_VERSION (0, 7, 0) |
26 |
+ notify = notify_notification_new(summary, body, icon_str); |
27 |
+#else |
28 |
notify = notify_notification_new(summary, body, icon_str, NULL); |
29 |
+#endif |
30 |
+#else |
31 |
+ notify = notify_notification_new(summary, body, icon_str, NULL); |
32 |
+#endif |
33 |
if (notify) |
34 |
{ |
35 |
notify_notification_set_category(notify, type); |