return MODEST_ERR_INIT;
}
-
+
account_or_default = check_account (account);
g_free (account);
modest_window_mgr_register_window (mgr, win);
}
- gtk_widget_show (GTK_WIDGET (win));
+ gtk_widget_show_all (GTK_WIDGET (win));
gtk_main();
return MODEST_ERR_NONE;
modest_mail_operation_send_new_mail (mail_operation, account,
from_string, mailto,
cc, bcc, subject, body, NULL,
- NULL);
+ NULL, 0);
if (modest_mail_operation_get_status (mail_operation) ==
MODEST_MAIL_OPERATION_STATUS_FAILED) {
retval = MODEST_ERR_SEND;