[gnome-photos/wip/rishi/buffer-decoder] base-item: Rename a variable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/buffer-decoder] base-item: Rename a variable
- Date: Wed, 12 Sep 2018 11:55:59 +0000 (UTC)
commit 30be9759c5671aa8507243cda125a3e3f83f683a
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]