1 |
ssuominen 11/01/29 19:35:19 |
2 |
|
3 |
Added: xfce4-volumed-0.1.11-libnotify-0.7.patch |
4 |
Log: |
5 |
Version bump. |
6 |
|
7 |
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 xfce-extra/xfce4-volumed/files/xfce4-volumed-0.1.11-libnotify-0.7.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-extra/xfce4-volumed/files/xfce4-volumed-0.1.11-libnotify-0.7.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-extra/xfce4-volumed/files/xfce4-volumed-0.1.11-libnotify-0.7.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: xfce4-volumed-0.1.11-libnotify-0.7.patch |
16 |
=================================================================== |
17 |
http://bugs.launchpad.net/xfce4-volumed/+bug/671915 |
18 |
|
19 |
--- src/xvd_notify.c |
20 |
+++ src/xvd_notify.c |
21 |
@@ -117,11 +117,15 @@ |
22 |
g_list_free (caps_list); |
23 |
} |
24 |
|
25 |
- Inst->notification = notify_notification_new ( |
26 |
- "Xfce4-Volumed", |
27 |
- NULL, |
28 |
- NULL, |
29 |
- NULL); |
30 |
+#ifdef NOTIFY_CHECK_VERSION |
31 |
+#if NOTIFY_CHECK_VERSION (0, 7, 0) |
32 |
+ Inst->notification = notify_notification_new ("Xfce4-Volumed", NULL, NULL); |
33 |
+#else |
34 |
+ Inst->notification = notify_notification_new ("Xfce4-Volumed", NULL, NULL, NULL); |
35 |
+#endif |
36 |
+#else |
37 |
+ Inst->notification = notify_notification_new ("Xfce4-Volumed", NULL, NULL, NULL); |
38 |
+#endif |
39 |
} |
40 |
|
41 |
void |