[Commits] [SCM] claws branch, master, updated. 3.16.0-215-g6d60767

ticho at claws-mail.org ticho at claws-mail.org
Sun Jun 17 15:20:39 CEST 2018


The branch, master has been updated
       via  6d607675e6076f2df5492fffa2eab0e91a7bdf5d (commit)
      from  ea7d60a3cb95229d4342bf291b25cd679bf36d29 (commit)

Summary of changes:
 src/prefs_account.c |    3 +--
 src/prefs_gtk.c     |    2 --
 2 files changed, 1 insertion(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit 6d607675e6076f2df5492fffa2eab0e91a7bdf5d
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sun Jun 17 15:19:20 2018 +0200

    Fix 'Invalid PrefType for GtkEntry' warning for account proxy_pass.
    
    Also remove P_PASSWORD as valid PrefType in prefs_set_data_from_entry().

diff --git a/src/prefs_account.c b/src/prefs_account.c
index d94b384..98b9b6e 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -843,8 +843,7 @@ static PrefParam proxy_param[] = {
 	prefs_set_data_from_entry, prefs_set_entry},
 
 	{"proxy_pass", "", &tmp_ac_prefs.proxy_info.proxy_pass, P_PASSWORD,
-	&proxy_page.proxy_pass_entry,
-	prefs_set_data_from_entry, prefs_set_entry},
+	NULL, NULL, NULL},
 
 
 	{NULL, NULL, NULL, P_OTHER, NULL, NULL, NULL}
diff --git a/src/prefs_gtk.c b/src/prefs_gtk.c
index b5e28f3..8b00dc1 100644
--- a/src/prefs_gtk.c
+++ b/src/prefs_gtk.c
@@ -631,8 +631,6 @@ void prefs_set_data_from_entry(PrefParam *pparam)
 		g_free(*str);
 		*str = entry_str[0] ? g_strdup(entry_str) : NULL;
 		break;
-	case P_PASSWORD:
-		break;
 	case P_USHORT:
 		*((gushort *)pparam->data) = atoi(entry_str);
 		break;

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list