[gnome-photos/wip/rishi/buffer-decoder: 6/9] base-item: Rename a variable



commit 1eb5f94178a9aaa860219abd9a1327c082780df4
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Sep 6 10:02:05 2018 +0200

    base-item: Rename a variable
    
    This will make the subsequent commit easier to read.
    
    https://gitlab.gnome.org/GNOME/gnome-photos/issues/63

 src/photos-base-item.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-base-item.c b/src/photos-base-item.c
index 8e170d1c..7da07df9 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -1953,7 +1953,7 @@ photos_base_item_save_metadata_in_thread_func (GTask *task,
 {
   PhotosBaseItem *self = PHOTOS_BASE_ITEM (source_object);
   PhotosBaseItemPrivate *priv;
-  GFile *file = G_FILE (task_data);
+  GFile *export_file = G_FILE (task_data);
   g_autoptr (GExiv2Metadata) metadata = NULL;
   g_autofree gchar *export_path = NULL;
   g_autofree gchar *source_path = NULL;
@@ -1986,7 +1986,7 @@ photos_base_item_save_metadata_in_thread_func (GTask *task,
   }
 
   gexiv2_metadata_set_orientation (metadata, GEXIV2_ORIENTATION_NORMAL);
-  export_path = g_file_get_path (file);
+  export_path = g_file_get_path (export_file);
 
   {
     g_autoptr (GError) error = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]