* fix build
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 20 Feb 2007 10:28:33 +0000 (10:28 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 20 Feb 2007 10:28:33 +0000 (10:28 +0000)
pmo-trunk-r842

tests/check_folder-transfer.c

index 65c7703..7f1376d 100644 (file)
@@ -168,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));