summaryrefslogtreecommitdiff
path: root/src/gpm-manager.c
diff options
context:
space:
mode:
authorElan Ruusamäe <[email protected]>2013-02-18 22:05:47 +0200
committerElan Ruusamäe <[email protected]>2013-02-18 22:05:47 +0200
commitd39dce39122b4f2e02c5e169581daa9016d26bfc (patch)
tree57776a0eb1f44907ebadd7686fa118f5740deb5c /src/gpm-manager.c
parent790fa5e0ea340ce4c826237e1c4626096c5d42bc (diff)
downloadmate-power-manager-d39dce39122b4f2e02c5e169581daa9016d26bfc.tar.bz2
mate-power-manager-d39dce39122b4f2e02c5e169581daa9016d26bfc.tar.xz
use libnotify, not libmatenotify
Diffstat (limited to 'src/gpm-manager.c')
-rw-r--r--src/gpm-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpm-manager.c b/src/gpm-manager.c
index f1be5d8..3d501b4 100644
--- a/src/gpm-manager.c
+++ b/src/gpm-manager.c
@@ -40,7 +40,7 @@
#include <dbus/dbus-glib-lowlevel.h>
#include <canberra-gtk.h>
#include <libupower-glib/upower.h>
-#include <libmatenotify/notify.h>
+#include <libnotify/notify.h>
#include "egg-debug.h"
#include "egg-console-kit.h"
@@ -486,9 +486,9 @@ gpm_manager_notify (GpmManager *manager, NotifyNotification **notification_class
/* if the status icon is hidden, don't point at it */
if (manager->priv->status_icon != NULL &&
gtk_status_icon_is_embedded (manager->priv->status_icon))
- notification = notify_notification_new_with_status_icon (title, message, icon, manager->priv->status_icon);
+ notification = notify_notification_new (title, message, gtk_status_icon_get_icon_name(manager->priv->status_icon));
else
- notification = notify_notification_new (title, message, icon, NULL);
+ notification = notify_notification_new (title, message, icon);
notify_notification_set_timeout (notification, timeout);
notify_notification_set_urgency (notification, urgency);
g_signal_connect (notification, "closed", G_CALLBACK (gpm_manager_notification_closed_cb), notification_class);