aboutsummaryrefslogtreecommitdiffstats
path: root/capplet/settings/mail-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplet/settings/mail-view.c')
-rw-r--r--capplet/settings/mail-view.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/capplet/settings/mail-view.c b/capplet/settings/mail-view.c
index a294a8e5c0..cb2010f948 100644
--- a/capplet/settings/mail-view.c
+++ b/capplet/settings/mail-view.c
@@ -438,11 +438,14 @@ mail_view_switch_to_settings (MailView* mv, MailViewChild *mpv)
}
static MailViewChild *
-mail_view_add_account (MailView *mv, gpointer data, gboolean block)
+mail_view_add_account (MailView *mv,
+ gpointer data,
+ gboolean block)
{
- MailAccountView *msv = mail_account_view_new (data);
+ MailAccountView *msv;
gint position = 0;
+ msv = mail_account_view_new (data, mv->session);
gtk_widget_show ((GtkWidget *)msv);
if (!block)
mv->priv->current_view = (MailViewChild *)msv;