diff options
author | Stefano Karapetsas <[email protected]> | 2012-12-23 11:14:36 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-12-23 11:14:36 -0800 |
commit | 3ec2cb1ade8ed91ed472091adcc592485dc49f4d (patch) | |
tree | 122f234160898266040a89a6767871856bd607c9 /libcaja-private/caja-file-operations.c | |
parent | 8379b1dc107c9e0daf31ef1b654c9ab44d9bac23 (diff) | |
parent | c598aa7e65d9e370c63f883acbbb6504044c2531 (diff) | |
download | caja-3ec2cb1ade8ed91ed472091adcc592485dc49f4d.tar.bz2 caja-3ec2cb1ade8ed91ed472091adcc592485dc49f4d.tar.xz |
Merge pull request #65 from jasmineaura/develop
Most of remaining deprecations, some cleanups, and a leak fix
Diffstat (limited to 'libcaja-private/caja-file-operations.c')
-rw-r--r-- | libcaja-private/caja-file-operations.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c index baaa8843..f9f8739a 100644 --- a/libcaja-private/caja-file-operations.c +++ b/libcaja-private/caja-file-operations.c @@ -4661,7 +4661,7 @@ move_file_prepare (CopyMoveJob *move_job, GFile *dest, *new_dest; GError *error; CommonJob *job; - gboolean overwrite, renamed; + gboolean overwrite; char *primary, *secondary, *details; int response; GFileCopyFlags flags; @@ -4669,7 +4669,6 @@ move_file_prepare (CopyMoveJob *move_job, gboolean handled_invalid_filename; overwrite = FALSE; - renamed = FALSE; handled_invalid_filename = *dest_fs_type != NULL; job = (CommonJob *)move_job; @@ -4817,7 +4816,6 @@ move_file_prepare (CopyMoveJob *move_job, g_object_unref (dest); dest = get_target_file_for_display_name (dest_dir, response->new_name); - renamed = TRUE; conflict_response_data_free (response); goto retry; } else { @@ -5341,8 +5339,6 @@ link_job (GIOSchedulerJob *io_job, { CopyMoveJob *job; CommonJob *common; - GList *copy_files; - GArray *copy_positions; GFile *src; GdkPoint *point; char *dest_fs_type; @@ -5354,9 +5350,6 @@ link_job (GIOSchedulerJob *io_job, common = &job->common; common->io_job = io_job; - copy_files = NULL; - copy_positions = NULL; - dest_fs_type = NULL; caja_progress_info_start (job->common.progress); |