Commit f6b5bf45 authored by Enrico Minack's avatar Enrico Minack
Browse files

moved to libnotify version 0.7

fixed API change of libnotify 0.7 for gweather and battstat, fixes #632803
parent 6273cedf
......@@ -435,7 +435,7 @@ battery_full_notify (GtkWidget *applet)
GTK_ICON_LOOKUP_USE_BUILTIN,
NULL);
NotifyNotification *n = notify_notification_new (_("Your battery is now fully recharged"), "", /* "battery" */ NULL, applet);
NotifyNotification *n = notify_notification_new (_("Your battery is now fully recharged"), "", /* "battery" */ NULL);
/* XXX: it would be nice to pass this as a named icon */
notify_notification_set_icon_from_pixbuf (n, icon);
......
......@@ -22,7 +22,7 @@ LIBGTOP_REQUIRED=2.11.92
LIBXKLAVIER_REQUIRED=4.0
LIBWNCK_REQUIRED=2.9.3
LIBGNOME_DESKTOP_REQUIRED=2.11.1
LIBNOTIFY_REQUIRED=0.3.2
LIBNOTIFY_REQUIRED=0.7
HAL_REQUIRED=0.5.3
DBUS_REQUIRED=1.1.2
DBUS_GLIB_REQUIRED=0.74
......
......@@ -471,8 +471,7 @@ update_finish (WeatherInfo *info, gpointer data)
if (icon == NULL)
icon = "stock-unknown";
n = notify_notification_new (message, detail, icon,
gw_applet->container);
n = notify_notification_new (message, detail, icon);
notify_notification_show (n, &error);
if (error)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment