[gnome-photos] fetch-collections-job: Rename variable



commit 499d1f7a2ef126ba33dd40655ddb9785fed69872
Author: Rafael Fonseca <r4f4rfs gmail com>
Date:   Thu Apr 14 16:28:13 2016 +0200

    fetch-collections-job: Rename variable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764086

 src/photos-fetch-collections-job.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-fetch-collections-job.c b/src/photos-fetch-collections-job.c
index 44e8fe7..b097493 100644
--- a/src/photos-fetch-collections-job.c
+++ b/src/photos-fetch-collections-job.c
@@ -68,20 +68,20 @@ photos_fetch_collections_job_cursor_next (GObject *source_object, GAsyncResult *
   TrackerSparqlCursor *cursor = TRACKER_SPARQL_CURSOR (source_object);
   GCancellable *cancellable;
   GError *error;
-  gboolean valid;
+  gboolean success;
 
   self = g_task_get_source_object (task);
   cancellable = g_task_get_cancellable (task);
 
   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 end;
     }
 
-  if (valid)
+  if (success)
     {
       gchar *urn;
 


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