summaryrefslogtreecommitdiff
path: root/debian/patches/0001-Disabe-gnome-keyring-deprecation-warnings.patch
blob: e2aa68870d61696dc4c4cf02f18c1b71ff8dda04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
Date: Thu, 4 Sep 2014 23:01:01 +0200
Subject: Disabe gnome keyring deprecation warnings

until libsecret declares a stable API
---
 auth-dialog/main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/auth-dialog/main.c b/auth-dialog/main.c
index 03586e4..aa20f53 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -31,6 +31,9 @@
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
 
+/* Fix build with gnome 3.12 until libsecret declares a stable API */
+#define GNOME_KEYRING_DEPRECATED
+#define GNOME_KEYRING_DEPRECATED_FOR(x)
 #include <gnome-keyring.h>
 #include <gnome-keyring-memory.h>