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



commit c84f289ac40df221881712675f3770441d0352ac
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 5541fc8a..453e2eee 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -1959,7 +1959,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;
@@ -1992,7 +1992,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]