From 3b15531a8d6f85bf654289deffe67c0893c70857 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 28 Feb 2013 12:59:23 +0100 Subject: Use libnotify instead of libmatenotify --- configure.in | 2 +- src/obexpush.c | 5 ++--- 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 #include #include -#include +#include #include #include #include @@ -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); -- cgit v1.2.1