[gnome-initial-setup/shell/4765: 97/362] keyring: open session when getting secret service
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/shell/4765: 97/362] keyring: open session when getting secret service
- Date: Thu, 19 Mar 2015 01:29:13 +0000 (UTC)
commit cbd44b55ac1d0e6cb627d40fde738b68087009df
Author: Cosimo Cecchi <cosimo endlessm com>
Date: Tue Jul 15 16:16:28 2014 -0700
keyring: open session when getting secret service
Or we'll fail the call to secret_service_encode_dbus_secret().
[endlessm/eos-shell#2901]
gnome-initial-setup/gis-keyring.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/gis-keyring.c b/gnome-initial-setup/gis-keyring.c
index 2559907..df1c605 100644
--- a/gnome-initial-setup/gis-keyring.c
+++ b/gnome-initial-setup/gis-keyring.c
@@ -75,7 +75,7 @@ gis_update_login_keyring_password (const gchar *old_, const gchar *new_)
SecretValue *new_secret = NULL;
GError *error = NULL;
- service = secret_service_get_sync (0, NULL, &error);
+ service = secret_service_get_sync (SECRET_SERVICE_OPEN_SESSION, NULL, &error);
if (service == NULL) {
g_warning ("Failed to get secret service: %s", error->message);
g_error_free (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]