[gnome-shell] Switch to stable libsecret API



commit a55599a239f7a5ef60149373134753de37735bd7
Author: Michael Biebl <biebl debian org>
Date:   Mon May 15 07:12:12 2017 +0200

    Switch to stable libsecret API
    
    Most of the libsecret API was declared stable in 0.18 and the stable API
    now provides everything we need, so switch from libsecret-unstable to
    libsecret-1.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782637

 configure.ac              |    2 +-
 src/shell-network-agent.c |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ede4119..ffbc1a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,7 +190,7 @@ if test "x$enable_networkmanager" != "xno"; then
                      [libnm-glib
                      libnm-util >= $NETWORKMANAGER_MIN_VERSION
                      libnm-gtk >= $NETWORKMANAGER_MIN_VERSION
-                     libsecret-unstable],
+                     libsecret-1 >= 0.18],
                      [have_networkmanager=yes],
                      [have_networkmanager=no])
 
diff --git a/src/shell-network-agent.c b/src/shell-network-agent.c
index 0fd028f..4862b6d 100644
--- a/src/shell-network-agent.c
+++ b/src/shell-network-agent.c
@@ -23,8 +23,6 @@
 #include <string.h>
 #include <dbus/dbus-glib.h>
 
-/* For use of unstable features in libsecret, until they stabilize */
-#define SECRET_API_SUBJECT_TO_CHANGE
 #include <libsecret/secret.h>
 
 #include "shell-network-agent.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]