X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-connection-specific-smtp-window.c;h=f1dbb952144638940ff6413f12085a545daf2fee;hb=a5f1624b5d7a4e153fd1e324f993917ec4492122;hp=cf2bbbb158b0e83606100dcfdcf3fde169e08324;hpb=827e1886270816c632c05f804891a56924915229;p=modest diff --git a/src/maemo/modest-connection-specific-smtp-window.c b/src/maemo/modest-connection-specific-smtp-window.c index cf2bbbb..f1dbb95 100644 --- a/src/maemo/modest-connection-specific-smtp-window.c +++ b/src/maemo/modest-connection-specific-smtp-window.c @@ -200,17 +200,17 @@ modest_connection_specific_smtp_window_fill_with_connections (ModestConnectionSp server_account_name = modest_account_mgr_get_connection_specific_smtp ( priv->account_manager, connection_id); - if (server_account_name) { - /* Add the row to the model: */ - GtkTreeIter iter; - gtk_list_store_append (liststore, &iter); - gtk_list_store_set(liststore, &iter, - MODEL_COL_ID, connection_id, - MODEL_COL_NAME, connection_name, - MODEL_COL_SERVER_ACCOUNT_NAME, server_account_name, - -1); + /* Add the row to the model: */ + GtkTreeIter iter; + gtk_list_store_append (liststore, &iter); + gtk_list_store_set(liststore, &iter, + MODEL_COL_ID, connection_id, + MODEL_COL_NAME, connection_name, + MODEL_COL_SERVER_ACCOUNT_NAME, server_account_name, + -1); + + if (server_account_name) g_free (server_account_name); - } } iter = g_slist_next (iter);