1
Description: Port sensors-applet to the new libnotify 0.7 API
2
Version 0.7 of libnotify drops an argument from the notify_notification_new()
3
call; fix up our invocation accordingly.
4
Author: Steve Langasek <steve.langasek@canonical.com>
5
Bug-Debian: http://bugs.debian.org/630301
7
Index: sensors-applet-2.2.7/sensors-applet/sensors-applet.c
8
===================================================================
9
--- sensors-applet-2.2.7.orig/sensors-applet/sensors-applet.c
10
+++ sensors-applet-2.2.7/sensors-applet/sensors-applet.c
13
sensors_applet->notification = notify_notification_new(summary,
15
- GTK_STOCK_DIALOG_WARNING,
16
- GTK_WIDGET(sensors_applet->applet));
17
+ GTK_STOCK_DIALOG_WARNING);
21
Index: sensors-applet-2.2.7/sensors-applet/active-sensor-libnotify.c
22
===================================================================
23
--- sensors-applet-2.2.7.orig/sensors-applet/active-sensor-libnotify.c
24
+++ sensors-applet-2.2.7/sensors-applet/active-sensor-libnotify.c
26
g_debug("Creating new notification");
27
active_sensor->notification[notif_type] = notify_notification_new(summary,
32
g_signal_connect(active_sensor->notification[notif_type], "closed",
33
G_CALLBACK(notif_closed_cb),
35
--- sensors-applet-2.2.7.orig/po/POTFILES.skip
36
+++ sensors-applet-2.2.7/po/POTFILES.skip
38
SensorsApplet.server.in
39
+.pc/libnotify_0.7_api_change/sensors-applet/sensors-applet.c