[gnome-photos] collection-icon-watcher: Rename a variable



commit 6320ddc426dec5f2c1c81d413c864d1408d9552b
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Mar 18 19:18:12 2016 +0100

    collection-icon-watcher: Rename a variable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763908

 src/photos-collection-icon-watcher.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-collection-icon-watcher.c b/src/photos-collection-icon-watcher.c
index d3c5442..3f8a53f 100644
--- a/src/photos-collection-icon-watcher.c
+++ b/src/photos-collection-icon-watcher.c
@@ -248,18 +248,18 @@ photos_collection_icon_watcher_cursor_next (GObject *source_object, GAsyncResult
   PhotosCollectionIconWatcher *self = PHOTOS_COLLECTION_ICON_WATCHER (user_data);
   TrackerSparqlCursor *cursor = TRACKER_SPARQL_CURSOR (source_object);
   GError *error;
-  gboolean valid;
+  gboolean success;
   gchar *urn;
 
   error = NULL;
-  valid = tracker_sparql_cursor_next_finish (cursor, res, &error);
+  success = tracker_sparql_cursor_next_finish (cursor, res, &error);
   if (error != NULL)
     {
       g_warning ("Unable to query collection items: %s", error->message);
       g_error_free (error);
       goto end;
     }
-  else if (!valid)
+  else if (!success)
     goto end;
 
   urn = g_strdup (tracker_sparql_cursor_get_string (cursor, 0, NULL));


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