X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=tests%2Fcheck_update-account.c;h=1202f7a7884394f098a600bca9a4ff233e787dbe;hp=3039e912e0e89499339df11d2e6b7eb4a2607486;hb=c5a5b586adace0a0a65316ea89ecbf52e5b08430;hpb=250e23c3f8c9b93a86641c4c8acecc1adb817e02 diff --git a/tests/check_update-account.c b/tests/check_update-account.c index 3039e91..1202f7a 100644 --- a/tests/check_update-account.c +++ b/tests/check_update-account.c @@ -88,13 +88,14 @@ func (gpointer_data) g_object_unref (G_OBJECT (accounts)); queue = modest_runtime_get_mail_operation_queue (); - mail_op = modest_mail_operation_new (); + mail_op = modest_mail_operation_new (NULL); g_signal_connect (G_OBJECT (mail_op), "progress_changed", G_CALLBACK (on_progress_changed), queue); - if (modest_mail_operation_update_account (mail_op, account)) - modest_mail_operation_queue_add (queue, mail_op); + modest_mail_operation_update_account (mail_op, tny_account_get_name (TNY_ACCOUNT (account)), + TRUE, FALSE, NULL, NULL, NULL); + modest_mail_operation_queue_add (queue, mail_op); g_object_unref (G_OBJECT (mail_op));