The proper fix is to store the preference in the ThunarTransferJob struct and initialize this once in thunar_transfer_job_execute.
The proper fix is to store the preference in the ThunarTransferJob struct and initialize this once in thunar_ transfer_ job_execute.