[vino/3] keyring fixes
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vino/3] keyring fixes
- Date: Mon, 12 Jul 2010 18:36:50 +0000 (UTC)
commit 309f8c2ead13b14abb67e539727fc670d6a7f41b
Author: Ryan Lortie <desrt desrt ca>
Date: Mon Jul 12 14:36:30 2010 -0400
keyring fixes
capplet/vino-preferences.c | 1 +
common/vino-keyring.c | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/capplet/vino-preferences.c b/capplet/vino-preferences.c
index 4a440eb..8905b6a 100644
--- a/capplet/vino-preferences.c
+++ b/capplet/vino-preferences.c
@@ -429,6 +429,7 @@ main (int argc, char **argv)
gtk_application_get_window (app);
gtk_application_run (app);
g_object_unref (app);
+ g_settings_sync ();
return 0;
}
diff --git a/common/vino-keyring.c b/common/vino-keyring.c
index 27e829e..e88ddcc 100644
--- a/common/vino-keyring.c
+++ b/common/vino-keyring.c
@@ -24,6 +24,8 @@
* Ryan Lortie <desrt desrt ca>
*/
+#include "config.h"
+
#include "vino-keyring.h"
#ifdef VINO_ENABLE_KEYRING
@@ -32,7 +34,7 @@
#include <gnome-keyring.h>
-static char *
+char *
vino_keyring_get_password (void)
{
GnomeKeyringNetworkPasswordData *found_item;
@@ -64,7 +66,7 @@ vino_keyring_get_password (void)
return password;
}
-static gboolean
+gboolean
vino_keyring_set_password (const char *password)
{
GnomeKeyringResult result;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]