summaryrefslogtreecommitdiff
path: root/extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0-libnotify-0.7.patch
blob: d2b5a292641e84d4bf23872aaf14864c265bcd6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff -dur xfce4-sensors-plugin-1.0.0.orig/lib/hddtemp.c xfce4-sensors-plugin-1.0.0/lib/hddtemp.c
--- xfce4-sensors-plugin-1.0.0.orig/lib/hddtemp.c	2010-03-27 16:11:48.000000000 +0100
+++ xfce4-sensors-plugin-1.0.0/lib/hddtemp.c	2010-11-06 20:50:11.717022222 +0100
@@ -102,7 +102,7 @@
     if (!notify_is_initted())
         notify_init(PACKAGE); /* NOTIFY_APPNAME */
 
-    nn = notify_notification_new (summary, body, icon, NULL);
+    nn = notify_notification_new (summary, body, icon);
     /* FIXME: Use channels or propagate private object or use static global variable */
     //notify_notification_add_action (nn,
                             //"confirmed",
diff -dur xfce4-sensors-plugin-1.0.0.orig/lib/sensors-interface.c xfce4-sensors-plugin-1.0.0/lib/sensors-interface.c
--- xfce4-sensors-plugin-1.0.0.orig/lib/sensors-interface.c	2010-03-27 16:11:48.000000000 +0100
+++ xfce4-sensors-plugin-1.0.0/lib/sensors-interface.c	2010-11-06 20:50:24.360007993 +0100
@@ -105,7 +105,7 @@
                 if (!notify_is_initted())
                     notify_init(PACKAGE); /* NOTIFY_APPNAME */
 
-                nn = notify_notification_new(summary, body, icon, NULL);
+                nn = notify_notification_new(summary, body, icon);
                 notify_notification_show(nn, &error);
                 #else
                 DBG("%s\n%s", summary, body);