gnome-bluetooth: fix build with libnotify >= 0.7.0

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Andreas Müller
2015-08-30 12:34:00 +02:00
committed by Martin Jansa
parent 13bc1b4b0f
commit 21be39e410
2 changed files with 48 additions and 0 deletions
@@ -0,0 +1,47 @@
From 08a5b66d709781c0c596108278979a11b26331d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Sun, 30 Aug 2015 12:14:53 +0200
Subject: [PATCH] Fix build with libnotify >= 0.7.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Backport [1]
[1] https://github.com/GNOME/gnome-bluetooth/commit/9f256799cc6b8367b2466f35b82f1d07076a950e
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
applet/notify.c | 2 +-
configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/applet/notify.c b/applet/notify.c
index d2a4f51..cb01dfc 100644
--- a/applet/notify.c
+++ b/applet/notify.c
@@ -71,7 +71,7 @@ void show_notification(const gchar *summary, const gchar *message,
notify_notification_close(notify, NULL);
}
- notify = notify_notification_new(summary, message, icon_name, NULL);
+ notify = notify_notification_new(summary, message, icon_name);
notify_notification_set_timeout(notify, timeout);
diff --git a/configure.ac b/configure.ac
index 8bbce4e..98ec86e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,7 +71,7 @@ AM_CONDITIONAL([ICON_UPDATE], [test -n "$UPDATE_ICON_CACHE"])
GTK_REQUIRED=2.19.1
GLIB_REQUIRED=2.25.7
DBUS_GLIB_REQUIRED=0.74
-NOTIFY_REQUIRED=0.4.3
+NOTIFY_REQUIRED=0.7.0
NAUTILUS_SENDTO_REQUIRED=2.31.7
dnl Requires for the properties window
--
2.1.0
@@ -15,6 +15,7 @@ inherit gnomebase gtk-icon-cache
SRC_URI += " \ SRC_URI += " \
file://0001-bluetooth-input-Fix-compile-errors.patch \ file://0001-bluetooth-input-Fix-compile-errors.patch \
file://0002-bluetooth-client-use-valid-interface-names.patch \ file://0002-bluetooth-client-use-valid-interface-names.patch \
file://0003-Fix-build-with-libnotify-0.7.0.patch \
" "
SRC_URI[archive.md5sum] = "f129686fe46c4c98eb70a0cc85d59cae" SRC_URI[archive.md5sum] = "f129686fe46c4c98eb70a0cc85d59cae"
SRC_URI[archive.sha256sum] = "57b1f06c96a1b85e1c19ff919d708cc38e95edae658881ed99968c325839a973" SRC_URI[archive.sha256sum] = "57b1f06c96a1b85e1c19ff919d708cc38e95edae658881ed99968c325839a973"