From a55599a239f7a5ef60149373134753de37735bd7 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 15 May 2017 07:12:12 +0200 Subject: [PATCH] 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 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index ede41194f..ffbc1a4ca 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 0fd028f7b..4862b6d0d 100644 --- a/src/shell-network-agent.c +++ b/src/shell-network-agent.c @@ -23,8 +23,6 @@ #include #include -/* For use of unstable features in libsecret, until they stabilize */ -#define SECRET_API_SUBJECT_TO_CHANGE #include #include "shell-network-agent.h"