aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-07-22 17:13:10 +0800
committerMilan Crha <mcrha@redhat.com>2010-07-22 17:13:10 +0800
commit410b996d54ee4787289760aec2329e24804d1061 (patch)
tree1bf3b2f6a84ecdc9137f6f76e53fa262fa065ddf /mail/em-account-editor.c
parent3e12c61e4cc3bd04b4c1a07358fd72530836e526 (diff)
downloadgsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar
gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.gz
gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.bz2
gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.lz
gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.xz
gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.zst
gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.zip
Bug #624891 - Various compiler warnings in git/master
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 603aa529a4..99ba81739c 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -2606,6 +2606,7 @@ emae_receive_options_extra_item (EConfig *ec, EConfigItem *eitem, GtkWidget *par
return NULL;
section:
d (printf ("Building extra section '%s'\n", eitem->path));
+ w = NULL;
url = emae_account_url (emae, emae_service_info[service->type].account_uri_key);
item->extra_table = g_hash_table_new (g_str_hash, g_str_equal);
extra = g_hash_table_new (g_str_hash, g_str_equal);
@@ -2699,7 +2700,8 @@ section:
}
camel_url_free (url);
- gtk_widget_show (w);
+ if (w)
+ gtk_widget_show (w);
return w;
}