static void copy_task_thread_func ( GTask * task , gpointer source_object , gpointer task_data , GCancellable * cancellable ) {
 CopyMoveJob * job ;
 CommonJob * common ;
 SourceInfo source_info ;
 TransferInfo transfer_info ;
 char * dest_fs_id ;
 GFile * dest ;
 job = task_data ;
 common = & job -> common ;
 dest_fs_id = NULL ;
 nautilus_progress_info_start ( job -> common . progress ) ;
 scan_sources ( job -> files , & source_info , common , OP_KIND_COPY ) ;
 if ( job_aborted ( common ) ) {
 goto aborted ;
 }
 if ( job -> destination ) {
 dest = g_object_ref ( job -> destination ) ;
 }
 else {
 dest = g_file_get_parent ( job -> files -> data ) ;
 }
 verify_destination ( & job -> common , dest , & dest_fs_id , source_info . num_bytes ) ;
 g_object_unref ( dest ) ;
 if ( job_aborted ( common ) ) {
 goto aborted ;
 }
 g_timer_start ( job -> common . time ) ;
 memset ( & transfer_info , 0 , sizeof ( transfer_info ) ) ;
 copy_files ( job , dest_fs_id , & source_info , & transfer_info ) ;
 aborted : g_free ( dest_fs_id ) ;
 }
static void copy_task_thread_func ( GTask * task , gpointer source_object , gpointer task_data , GCancellable * cancellable ) {
 CopyMoveJob * job ;
 CommonJob * common ;
 SourceInfo source_info ;
 TransferInfo transfer_info ;
 char * dest_fs_id ;
 GFile * dest ;
 job = task_data ;
 common = & job -> common ;
 dest_fs_id = NULL ;
 nautilus_progress_info_start ( job -> common . progress ) ;
 scan_sources ( job -> files , & source_info , common , OP_KIND_COPY ) ;
 if ( job_aborted ( common ) ) {
 goto aborted ;
 }
 if ( job -> destination ) {
 dest = g_object_ref ( job -> destination ) ;
 }
 else {
 dest = g_file_get_parent ( job -> files -> data ) ;
 }
 verify_destination ( & job -> common , dest , & dest_fs_id , source_info . num_bytes ) ;
 g_object_unref ( dest ) ;
 if ( job_aborted ( common ) ) {
 goto aborted ;
 }
 g_timer_start ( job -> common . time ) ;
 memset ( & transfer_info , 0 , sizeof ( transfer_info ) ) ;
 copy_files ( job , dest_fs_id , & source_info , & transfer_info ) ;
 aborted : g_free ( dest_fs_id ) ;
 }