From 41389eb9c8c16917cbc4060b3769da95ecb64dd1 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 28 Feb 2013 12:39:47 +0100 Subject: Use libnotify instead of libmatenotify --- mateweather/mateweather-applet.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'mateweather/mateweather-applet.c') diff --git a/mateweather/mateweather-applet.c b/mateweather/mateweather-applet.c index 8420195e..fdb9879e 100644 --- a/mateweather/mateweather-applet.c +++ b/mateweather/mateweather-applet.c @@ -27,9 +27,8 @@ #include -#ifdef HAVE_LIBMATENOTIFY -#include -#include +#ifdef HAVE_LIBNOTIFY +#include #endif #define MATEWEATHER_I_KNOW_THIS_IS_UNSTABLE @@ -393,7 +392,7 @@ static void update_finish (WeatherInfo *info, gpointer data) { static int gw_fault_counter = 0; -#ifdef HAVE_LIBMATENOTIFY +#ifdef HAVE_LIBNOTIFY char *message, *detail; #endif char *s; @@ -442,7 +441,7 @@ update_finish (WeatherInfo *info, gpointer data) /* update applet */ place_widgets(gw_applet); -#ifdef HAVE_LIBMATENOTIFY +#ifdef HAVE_LIBNOTIFY NotifyNotification *n; /* Show notifications if possible */ @@ -468,8 +467,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) -- cgit v1.2.1