[vinagre] Fix value of save_in_keyring output parameter
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vinagre] Fix value of save_in_keyring output parameter
- Date: Sun, 10 Feb 2013 14:34:54 +0000 (UTC)
commit e2f8f97f4c997e298c9df513803772ee9368c3a7
Author: Evangelos Foutras <evangelos foutrelis com>
Date: Sat Feb 2 00:20:35 2013 +0200
Fix value of save_in_keyring output parameter
When the vinagre_utils_ask_credential() utility function was rewritten
in Vala (commit 1c0c2d0f53bc3a5b7240aa3907d5d554696c7ae6), a NULL check
was incorrectly translated to Vala as-is.
The above causes the new vinagre_utils_request_credential() function to
always return FALSE as the value of the save_in_keyring output
parameter.
Fixes bug 658441.
vinagre/vinagre-utils.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/vinagre/vinagre-utils.vala b/vinagre/vinagre-utils.vala
index a45cd8c..b37c31c 100644
--- a/vinagre/vinagre-utils.vala
+++ b/vinagre/vinagre-utils.vala
@@ -171,8 +171,7 @@ namespace Vinagre.Utils {
if (password_entry.text_length > 0)
password = password_entry.text;
- if (save_in_keyring)
- save_in_keyring = save_credential_check.active;
+ save_in_keyring = save_credential_check.active;
}
password_dialog.destroy ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]