[gnome-photos] single-item-job: Rename a variable



commit 349b1fd1a55e5eeb2554dd67257ba681799e0cdb
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Nov 29 14:03:05 2016 +0100

    single-item-job: Rename a variable

 src/photos-single-item-job.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-single-item-job.c b/src/photos-single-item-job.c
index cc6f618..94ccb8b 100644
--- a/src/photos-single-item-job.c
+++ b/src/photos-single-item-job.c
@@ -63,18 +63,18 @@ photos_single_item_job_cursor_next (GObject *source_object, GAsyncResult *res, g
   TrackerSparqlCursor *cursor = TRACKER_SPARQL_CURSOR (source_object);
   GDestroyNotify result_destroy = NULL;
   GError *error;
-  gboolean valid;
+  gboolean success;
   gpointer result = NULL;
 
   error = NULL;
-  valid = tracker_sparql_cursor_next_finish (cursor, res, &error);
+  success = tracker_sparql_cursor_next_finish (cursor, res, &error);
   if (error != NULL)
     {
       g_task_return_error (task, error);
       goto out;
     }
 
-  if (valid)
+  if (success)
     {
       result = g_object_ref (cursor);
       result_destroy = g_object_unref;


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