X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=tests%2Fcheck_folder-transfer.c;h=7f1376d277f321bc0e384be4fc2297dcd5377164;hb=2ffa5c676784e80a28175a76c87cc2d4c3c33940;hp=470967683fa3e0ac349df67286c543903c7b8df5;hpb=b8c44ea979806119e8925fc0c86e4e5cfafc3528;p=modest diff --git a/tests/check_folder-transfer.c b/tests/check_folder-transfer.c index 4709676..7f1376d 100644 --- a/tests/check_folder-transfer.c +++ b/tests/check_folder-transfer.c @@ -38,7 +38,6 @@ #include #include #include -#include #include #include @@ -169,14 +168,9 @@ main (int argc, char **argv) mail_op = modest_mail_operation_new (); - if (move) - modest_mail_operation_move_folder (mail_op, - folder_src, - TNY_FOLDER_STORE (folder_dst)); - else - modest_mail_operation_copy_folder (mail_op, - folder_src, - TNY_FOLDER_STORE (folder_dst)); + modest_mail_operation_xfer_folder (mail_op, + folder_src, + TNY_FOLDER_STORE (folder_dst), move); g_object_unref (G_OBJECT (src_headers)); g_object_unref (G_OBJECT (mail_op));