From ed78c6d2d8e5ff3b8ae7edd633cce3a266e58d5d Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 21 Nov 2014 15:31:24 +0100 Subject: FrCommand: set the filename before each call to fr_command_* functions this change will allow the command to use a different filename from the one pointed to by the local_copy attribute. Based on FR commit: 5e48592fb49d1f5ce713fcd77d44acd664de4b6a From: Paolo Bacchilega --- src/fr-command.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fr-command.h') diff --git a/src/fr-command.h b/src/fr-command.h index 7023a8a..c4d87ac 100644 --- a/src/fr-command.h +++ b/src/fr-command.h @@ -169,10 +169,10 @@ struct _FrCommandClass }; GType fr_command_get_type (void); -void fr_command_set_filename (FrCommand *comm, - const char *filename); +void fr_command_set_file (FrCommand *comm, + GFile *file); void fr_command_set_multi_volume (FrCommand *comm, - const char *filename); + GFile *file); void fr_command_list (FrCommand *comm); void fr_command_add (FrCommand *comm, const char *from_file, -- cgit v1.2.1