summaryrefslogtreecommitdiff
path: root/extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.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/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0-libnotify-0.7.patch
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0-libnotify-0.7.patch')
-rw-r--r--extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0-libnotify-0.7.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0-libnotify-0.7.patch b/extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0-libnotify-0.7.patch
new file mode 100644
index 000000000..d2b5a2926
--- /dev/null
+++ b/extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0-libnotify-0.7.patch
@@ -0,0 +1,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);
+