projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't destroy window on "save to drafts" shortcut, and also don't spoil
[modest]
/
src
/
maemo
/
modest-maemo-security-options-view.c
diff --git
a/src/maemo/modest-maemo-security-options-view.c
b/src/maemo/modest-maemo-security-options-view.c
index
9595fca
..
8593897
100644
(file)
--- a/
src/maemo/modest-maemo-security-options-view.c
+++ b/
src/maemo/modest-maemo-security-options-view.c
@@
-144,7
+144,7
@@
create_incoming_security (ModestSecurityOptionsView* self,
GtkSizeGroup *size_group)
{
ModestSecurityOptionsViewPrivate *ppriv;
GtkSizeGroup *size_group)
{
ModestSecurityOptionsViewPrivate *ppriv;
- GtkWidget *combo_caption, *check_caption, *entry_caption;
+ GtkWidget *combo_caption, *check_caption, *entry_caption = NULL;
ppriv = MODEST_SECURITY_OPTIONS_VIEW_GET_PRIVATE (self);
ppriv = MODEST_SECURITY_OPTIONS_VIEW_GET_PRIVATE (self);
@@
-241,8
+241,8
@@
create_outgoing_security (ModestSecurityOptionsView* self,
GtkSizeGroup *size_group)
{
ModestSecurityOptionsViewPrivate *ppriv;
GtkSizeGroup *size_group)
{
ModestSecurityOptionsViewPrivate *ppriv;
- GtkWidget *sec_caption, *auth_caption, *user_caption;
- GtkWidget *pwd_caption, *port_caption;
+ GtkWidget *sec_caption, *auth_caption, *user_caption = NULL;
+ GtkWidget *pwd_caption = NULL, *port_caption = NULL;
ppriv = MODEST_SECURITY_OPTIONS_VIEW_GET_PRIVATE (self);
ppriv = MODEST_SECURITY_OPTIONS_VIEW_GET_PRIVATE (self);
@@
-434,12
+434,12
@@
modest_maemo_security_options_view_changed (ModestSecurityOptionsView* self,
ModestSecurityOptionsViewPrivate *ppriv;
gint server_port;
ModestSecurityOptionsViewPrivate *ppriv;
gint server_port;
+ ppriv = MODEST_SECURITY_OPTIONS_VIEW_GET_PRIVATE (self);
+
/* If we're not showing the port number then it never changes */
if (!ppriv->full)
return FALSE;
/* If we're not showing the port number then it never changes */
if (!ppriv->full)
return FALSE;
- ppriv = MODEST_SECURITY_OPTIONS_VIEW_GET_PRIVATE (self);
-
if (self->type == MODEST_SECURITY_OPTIONS_INCOMING)
server_settings = modest_account_settings_get_store_settings (settings);
else
if (self->type == MODEST_SECURITY_OPTIONS_INCOMING)
server_settings = modest_account_settings_get_store_settings (settings);
else