summaryrefslogtreecommitdiff
path: root/mateweather/mateweather-applet.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-02-28 12:39:47 +0100
committerStefano Karapetsas <[email protected]>2013-02-28 12:39:47 +0100
commit41389eb9c8c16917cbc4060b3769da95ecb64dd1 (patch)
tree8250f2b25c6dab84800709fa6ab8ee3ca44bd9a2 /mateweather/mateweather-applet.c
parent286f8ea18490767bdafa2e588695f80f47d74707 (diff)
downloadmate-applets-41389eb9c8c16917cbc4060b3769da95ecb64dd1.tar.bz2
mate-applets-41389eb9c8c16917cbc4060b3769da95ecb64dd1.tar.xz
Use libnotify instead of libmatenotify
Diffstat (limited to 'mateweather/mateweather-applet.c')
-rw-r--r--mateweather/mateweather-applet.c12
1 files changed, 5 insertions, 7 deletions
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 <gdk/gdkkeysyms.h>
-#ifdef HAVE_LIBMATENOTIFY
-#include <libmatenotify/notify.h>
-#include <libmatenotify/notification.h>
+#ifdef HAVE_LIBNOTIFY
+#include <libnotify/notify.h>
#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)