diff options
author | Dan Winship <danw@src.gnome.org> | 2003-01-07 23:04:07 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-01-07 23:04:07 +0800 |
commit | 186d1089e50636826ba0841063699c8b834d1dc4 (patch) | |
tree | 382082539030acca29710ca97da20b46ecdaca3a /e-util/e-passwords.c | |
parent | dd175b7cbdcd1e981e4f01b3d233237eedac9a07 (diff) | |
download | gsoc2013-evolution-186d1089e50636826ba0841063699c8b834d1dc4.tar.gz gsoc2013-evolution-186d1089e50636826ba0841063699c8b834d1dc4.tar.zst gsoc2013-evolution-186d1089e50636826ba0841063699c8b834d1dc4.zip |
New.
* e-config-listener.c (e_config_listener_remove_value): New.
* e-passwords.c (e_passwords_get_password): Don't look at the
passwords hash until calling e_passwords_init().
svn path=/trunk/; revision=19253
Diffstat (limited to 'e-util/e-passwords.c')
-rw-r--r-- | e-util/e-passwords.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/e-util/e-passwords.c b/e-util/e-passwords.c index 9dae5db6f3..f44e785f6f 100644 --- a/e-util/e-passwords.c +++ b/e-util/e-passwords.c @@ -219,11 +219,12 @@ e_passwords_forget_password (const char *component_name, const char *key) char * e_passwords_get_password (const char *component_name, const char *key) { - char *path, *passwd = g_hash_table_lookup (passwords, key); + char *path, *passwd; char *encoded = NULL; e_passwords_init (); + passwd = g_hash_table_lookup (passwords, key); if (passwd) return g_strdup (passwd); |