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
This commit is contained in:
Michael Biebl 2017-05-15 07:12:12 +02:00
parent 94114d82ff
commit a55599a239
2 changed files with 1 additions and 3 deletions

View File

@ -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])

View File

@ -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"