[gnome-online-accounts] Update for libsecret changes
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] Update for libsecret changes
- Date: Sat, 14 Jul 2012 18:41:18 +0000 (UTC)
commit 710104810dc540893ac3c22dfb1d1c9b0b67eb7f
Author: Stef Walter <stefw gnome org>
Date: Fri Jul 13 18:31:03 2012 +0200
Update for libsecret changes
* Library version was bumped to 1 in prep for stable release
* The header path was changed for consistency
https://bugzilla.gnome.org/show_bug.cgi?id=679873
configure.ac | 2 +-
src/goabackend/goautils.c | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 791d59f..b0325bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,7 +68,7 @@ PKG_CHECK_MODULES(REST, [rest-0.7])
AC_SUBST(REST_CFLAGS)
AC_SUBST(REST_LIBS)
-PKG_CHECK_MODULES(SECRET, [libsecret-0])
+PKG_CHECK_MODULES(SECRET, [libsecret-1])
AC_SUBST(SECRET_CFLAGS)
AC_SUBST(SECRET_LIBS)
diff --git a/src/goabackend/goautils.c b/src/goabackend/goautils.c
index 7021cda..3b73a45 100644
--- a/src/goabackend/goautils.c
+++ b/src/goabackend/goautils.c
@@ -23,7 +23,7 @@
#include "config.h"
#include <glib/gi18n-lib.h>
-#include <secret/secret.h>
+#include <libsecret/secret.h>
#include "goaprovider.h"
#include "goautils.h"
@@ -141,11 +141,11 @@ goa_utils_delete_credentials_sync (GoaProvider *provider,
goa_provider_get_credentials_generation (GOA_PROVIDER (provider)),
identity);
- if (!secret_password_remove_sync (&secret_password_schema,
- cancellable,
- error,
- "goa-identity", password_key,
- NULL))
+ if (!secret_password_clear_sync (&secret_password_schema,
+ cancellable,
+ error,
+ "goa-identity", password_key,
+ NULL))
{
if (error != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]