diff options
Diffstat (limited to 'modules/mail/e-mail-shell-view-private.c')
-rw-r--r-- | modules/mail/e-mail-shell-view-private.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c index 34a448330f..8eb77a1920 100644 --- a/modules/mail/e-mail-shell-view-private.c +++ b/modules/mail/e-mail-shell-view-private.c @@ -1224,6 +1224,8 @@ send_receive_get_account_index (EAccount *account) res++; } + g_object_unref (iterator); + return -1; } @@ -1390,6 +1392,8 @@ create_send_receive_submenu (EMailShellView *mail_shell_view) send_receive_add_to_menu (GTK_MENU_SHELL (menu), account, -1); } + g_object_unref (iterator); + g_signal_connect (accounts, "account-added", G_CALLBACK (send_receive_menu_account_added_cb), menu); g_signal_connect (accounts, "account-changed", G_CALLBACK (send_receive_menu_account_changed_cb), menu); g_signal_connect (accounts, "account-removed", G_CALLBACK (send_receive_menu_account_removed_cb), menu); |