[gnome-photos] fetch-ids-job: Rename variable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] fetch-ids-job: Rename variable
- Date: Wed, 22 Jun 2016 16:58:21 +0000 (UTC)
commit f1addcb306d6d2a7aab091564a6b455dd1639691
Author: Rafael Fonseca <r4f4rfs gmail com>
Date: Wed Apr 20 15:20:11 2016 +0200
fetch-ids-job: Rename variable
https://bugzilla.gnome.org/show_bug.cgi?id=764086
src/photos-fetch-ids-job.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-fetch-ids-job.c b/src/photos-fetch-ids-job.c
index 2b3fa9a..04ae40c 100644
--- a/src/photos-fetch-ids-job.c
+++ b/src/photos-fetch-ids-job.c
@@ -78,18 +78,18 @@ photos_fetch_ids_job_cursor_next (GObject *source_object, GAsyncResult *res, gpo
PhotosFetchIdsJob *self = PHOTOS_FETCH_IDS_JOB (user_data);
TrackerSparqlCursor *cursor = TRACKER_SPARQL_CURSOR (source_object);
GError *error;
- gboolean valid;
+ gboolean success;
const gchar *id;
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 read results of FetchIdsJob: %s", error->message);
g_error_free (error);
goto end;
}
- if(!valid)
+ if(!success)
goto end;
id = tracker_sparql_cursor_get_string (cursor, PHOTOS_QUERY_COLUMNS_URN, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]