summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-02-28 12:59:23 +0100
committerStefano Karapetsas <[email protected]>2013-02-28 12:59:23 +0100
commit3b15531a8d6f85bf654289deffe67c0893c70857 (patch)
tree2890da98bf53244c1429cf070d766633be797de5
parentc282e8252547c454257fddaf8056f4f5808581f9 (diff)
downloadmate-user-share-3b15531a8d6f85bf654289deffe67c0893c70857.tar.bz2
mate-user-share-3b15531a8d6f85bf654289deffe67c0893c70857.tar.xz
Use libnotify instead of libmatenotify
-rw-r--r--configure.in2
-rw-r--r--src/obexpush.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index a0c57bf..5f02c7d 100644
--- a/configure.in
+++ b/configure.in
@@ -56,7 +56,7 @@ if $have_dbus_1_1 ; then
AC_DEFINE(HAVE_DBUS_1_1, 1, [Set to true if we have D-BUS 1.1])
fi
-PKG_CHECK_MODULES(USER_SHARE, glib-2.0 >= 2.15.2 gio-2.0 >= 2.25.0 gdk-x11-2.0 gtk+-2.0 dbus-glib-1 libmatenotify libcanberra-gtk $DBUS_MODULES)
+PKG_CHECK_MODULES(USER_SHARE, glib-2.0 >= 2.15.2 gio-2.0 >= 2.25.0 gdk-x11-2.0 gtk+-2.0 dbus-glib-1 libnotify >= 0.7.0 libcanberra-gtk $DBUS_MODULES)
AC_SUBST(USER_SHARE_CFLAGS)
AC_SUBST(USER_SHARE_LIBS)
diff --git a/src/obexpush.c b/src/obexpush.c
index e458e6b..b2d6efe 100644
--- a/src/obexpush.c
+++ b/src/obexpush.c
@@ -28,7 +28,7 @@
#include <gio/gio.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
-#include <libmatenotify/notify.h>
+#include <libnotify/notify.h>
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h>
#include <canberra-gtk.h>
@@ -137,8 +137,7 @@ show_notification (const char *filename)
g_free (display);
notification = notify_notification_new (_("You received a file"),
notification_text,
- "dialog-information",
- NULL);
+ "dialog-information");
notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);