[network-manager-applet] Switch to stable libsecret API
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] Switch to stable libsecret API
- Date: Mon, 15 May 2017 07:09:34 +0000 (UTC)
commit 22cfbd9ab87306189e415d72f7a16387fec93f06
Author: Michael Biebl <biebl debian org>
Date: Mon May 15 07:22:30 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=782638
configure.ac | 2 +-
src/applet-agent.c | 1 -
src/mobile-helpers.c | 1 -
src/mobile-helpers.h | 1 -
4 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f1b404b..9db551a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,7 +117,7 @@ LIBNM_CFLAGS="$LIBNM_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32"
LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_8"
LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_8"
-PKG_CHECK_MODULES(LIBSECRET, [libsecret-unstable])
+PKG_CHECK_MODULES(LIBSECRET, [libsecret-1 >= 0.18])
# Check for libnotify >= 0.7
PKG_CHECK_MODULES(LIBNOTIFY_07, [libnotify >= 0.7], [have_libnotify_07=yes],[have_libnotify_07=no])
diff --git a/src/applet-agent.c b/src/applet-agent.c
index a9a8f5c..b95075e 100644
--- a/src/applet-agent.c
+++ b/src/applet-agent.c
@@ -23,7 +23,6 @@
#include <string.h>
-#define SECRET_API_SUBJECT_TO_CHANGE
#include <libsecret/secret.h>
#include "applet-agent.h"
diff --git a/src/mobile-helpers.c b/src/mobile-helpers.c
index 81b2ac3..65a56a3 100644
--- a/src/mobile-helpers.c
+++ b/src/mobile-helpers.c
@@ -24,7 +24,6 @@
#include <ctype.h>
-#define SECRET_API_SUBJECT_TO_CHANGE
#include <libsecret/secret.h>
#include "utils.h"
diff --git a/src/mobile-helpers.h b/src/mobile-helpers.h
index 006bd44..4b7589c 100644
--- a/src/mobile-helpers.h
+++ b/src/mobile-helpers.h
@@ -24,7 +24,6 @@
#define APPLET_MOBILE_HELPERS_H
#include <gtk/gtk.h>
-#define SECRET_API_SUBJECT_TO_CHANGE
#include <libsecret/secret.h>
#include "applet.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]