[gnome-photos] base-item: Style fixes



commit a689937d3ac50f3bb6b88521f1cd20cdd567b82c
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Sep 25 14:30:33 2017 +0200

    base-item: Style fixes

 src/photos-base-item.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-base-item.c b/src/photos-base-item.c
index 58fd517..1c5a5e6 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -2116,12 +2116,12 @@ static void
 photos_base_item_save_to_dir_file_create (GObject *source_object, GAsyncResult *res, gpointer user_data)
 {
   PhotosBaseItem *self;
-  GTask *task = G_TASK (user_data);
   GCancellable *cancellable;
   GError *error = NULL;
   GFile *file = G_FILE (source_object);
   GFile *unique_file = NULL;
   GFileOutputStream *stream = NULL;
+  GTask *task = G_TASK (user_data);
   PhotosBaseItemSaveData *data;
 
   self = PHOTOS_BASE_ITEM (g_task_get_source_object (task));
@@ -2157,12 +2157,12 @@ photos_base_item_save_to_dir_file_create (GObject *source_object, GAsyncResult *
 static void
 photos_base_item_save_to_dir_buffer_zoom (GObject *source_object, GAsyncResult *res, gpointer user_data)
 {
-  GTask *task = G_TASK (user_data);
   PhotosBaseItem *self;
   PhotosBaseItemPrivate *priv;
   GCancellable *cancellable;
   GError *error;
   GFile *file = NULL;
+  GTask *task = G_TASK (user_data);
   GeglBuffer *buffer = GEGL_BUFFER (source_object);
   GeglBuffer *buffer_zoomed = NULL;
   PhotosBaseItemSaveData *data;


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