diff options
author | Stefano Karapetsas <[email protected]> | 2013-02-28 12:39:47 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-02-28 12:39:47 +0100 |
commit | 41389eb9c8c16917cbc4060b3769da95ecb64dd1 (patch) | |
tree | 8250f2b25c6dab84800709fa6ab8ee3ca44bd9a2 /battstat/battstat_applet.c | |
parent | 286f8ea18490767bdafa2e588695f80f47d74707 (diff) | |
download | mate-applets-41389eb9c8c16917cbc4060b3769da95ecb64dd1.tar.bz2 mate-applets-41389eb9c8c16917cbc4060b3769da95ecb64dd1.tar.xz |
Use libnotify instead of libmatenotify
Diffstat (limited to 'battstat/battstat_applet.c')
-rw-r--r-- | battstat/battstat_applet.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c index 3fd76401..05601e9a 100644 --- a/battstat/battstat_applet.c +++ b/battstat/battstat_applet.c @@ -40,8 +40,8 @@ #include <mate-panel-applet.h> #include <mate-panel-applet-gsettings.h> -#ifdef HAVE_LIBMATENOTIFY -#include <libmatenotify/notify.h> +#ifdef HAVE_LIBNOTIFY +#include <libnotify/notify.h> #endif #include "battstat.h" @@ -420,7 +420,7 @@ get_remaining (BatteryStatus *info) static gboolean battery_full_notify (GtkWidget *applet) { -#ifdef HAVE_LIBMATENOTIFY +#ifdef HAVE_LIBNOTIFY GError *error = NULL; GdkPixbuf *icon; gboolean result; @@ -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); @@ -462,7 +462,7 @@ battery_full_notify (GtkWidget *applet) static void battery_full_dialog (GtkWidget *applet) { - /* first attempt to use libmatenotify */ + /* first attempt to use libnotify */ if (battery_full_notify (applet)) return; |