[gnome-mount] Update for libnotify 0.7 API changes
- From: Michael Biebl <mbiebl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mount] Update for libnotify 0.7 API changes
- Date: Sun, 31 Jul 2011 17:30:06 +0000 (UTC)
commit 9c276312e839581fcb6bcf9ea758c9cf0e705d10
Author: Michael Biebl <biebl debian org>
Date: Sun Jul 31 19:29:40 2011 +0200
Update for libnotify 0.7 API changes
configure.in | 2 +-
src/gnome-mount.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/configure.in b/configure.in
index 995e6a7..41dd8d7 100644
--- a/configure.in
+++ b/configure.in
@@ -105,7 +105,7 @@ if test "x$enable_nautilus_extension" = "xyes"; then
AC_SUBST(NAUTILUS_LIBS)
fi
-PKG_CHECK_MODULES([NOTIFY], [libnotify >= 0.3.0], [enable_notify=yes], [enable_notify=no])
+PKG_CHECK_MODULES([NOTIFY], [libnotify >= 0.7.0], [enable_notify=yes], [enable_notify=no])
if test "x$enable_notify" != "xno"; then
AC_DEFINE_UNQUOTED([ENABLE_NOTIFY], 1, [Enable notifications with libnotify])
AC_SUBST(NOTIFY_CFLAGS)
diff --git a/src/gnome-mount.c b/src/gnome-mount.c
index 4c82e48..2bf5bb0 100644
--- a/src/gnome-mount.c
+++ b/src/gnome-mount.c
@@ -1595,8 +1595,7 @@ unmount_cache_timeout_func (gpointer data)
message = g_strdup_printf (_("There is data that needs to be written to the device %s before it can be removed. Please do not remove the media or disconnect the drive."), unmount_note_drive_name);
unmount_note = notify_notification_new (summary,
message,
- unmount_note_icon_name,
- NULL);
+ unmount_note_icon_name);
if (unmount_note == NULL) {
g_warning ("Cannot create note for unmount cache sync");
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]