[gnome-photos] offset-controller: Rename a variable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] offset-controller: Rename a variable
- Date: Tue, 22 Mar 2016 09:58:51 +0000 (UTC)
commit b12297770c951b5d2ce24e22655c1895b4747bb0
Author: Rafael Fonseca <r4f4rfs gmail com>
Date: Mon Mar 21 16:04:57 2016 +0100
offset-controller: Rename a variable
https://bugzilla.gnome.org/show_bug.cgi?id=763908
src/photos-offset-controller.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-offset-controller.c b/src/photos-offset-controller.c
index b78c934..a39aec5 100644
--- a/src/photos-offset-controller.c
+++ b/src/photos-offset-controller.c
@@ -65,10 +65,10 @@ photos_offset_controller_cursor_next (GObject *source_object, GAsyncResult *res,
PhotosOffsetController *self = PHOTOS_OFFSET_CONTROLLER (user_data);
PhotosOffsetControllerPrivate *priv = self->priv;
TrackerSparqlCursor *cursor = TRACKER_SPARQL_CURSOR (source_object);
- gboolean valid;
+ gboolean success;
- valid = tracker_sparql_cursor_next_finish (cursor, res, NULL);
- if (valid)
+ success = tracker_sparql_cursor_next_finish (cursor, res, NULL);
+ if (success)
{
priv->count = (gint) tracker_sparql_cursor_get_integer (cursor, 0);
g_signal_emit (self, signals[COUNT_CHANGED], 0, priv->count);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]