[tracker] libtracker-sparql: Fix horrible confusion with G_GINT64_FORMAT
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-sparql: Fix horrible confusion with G_GINT64_FORMAT
- Date: Tue, 11 Jul 2017 16:14:27 +0000 (UTC)
commit 0d6e822f0799ca587ed88f6492baad9606629648
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Jul 11 17:25:08 2017 +0200
libtracker-sparql: Fix horrible confusion with G_GINT64_FORMAT
The "d" is already implied there, not for us to add. Let's pretend this
never happened...
src/libtracker-sparql/tracker-notifier.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-notifier.c b/src/libtracker-sparql/tracker-notifier.c
index e5a9617..c9e4e76 100644
--- a/src/libtracker-sparql/tracker-notifier.c
+++ b/src/libtracker-sparql/tracker-notifier.c
@@ -434,7 +434,7 @@ create_extra_info_query (TrackerNotifier *notifier,
if (has_elements)
g_string_append_c (filter, ',');
- g_string_append_printf (filter, "%" G_GINT64_FORMAT "d", event->id);
+ g_string_append_printf (filter, "%" G_GINT64_FORMAT, event->id);
has_elements = TRUE;
}
@@ -490,7 +490,7 @@ tracker_notifier_query_extra_info (TrackerNotifier *notifier,
event = find_event_in_array (events, id, &idx);
if (!event) {
- g_critical ("Queried for id %" G_GINT64_FORMAT "d but it is not "
+ g_critical ("Queried for id %" G_GINT64_FORMAT " but it is not "
"found, bailing out", id);
break;
}
@@ -523,8 +523,8 @@ create_extra_deleted_info_query (TrackerNotifier *notifier,
if (event->type != TRACKER_NOTIFIER_EVENT_DELETE)
continue;
- g_string_append_printf (sparql, "%" G_GINT64_FORMAT "d "
- "tracker:uri(%" G_GINT64_FORMAT "d)",
+ g_string_append_printf (sparql, "%" G_GINT64_FORMAT " "
+ "tracker:uri(%" G_GINT64_FORMAT ")",
event->id, event->id);
has_elements = TRUE;
}
@@ -574,7 +574,7 @@ tracker_notifier_query_extra_deleted_info (TrackerNotifier *notifier,
event = find_event_in_array (events, id, &idx);
if (!event) {
- g_critical ("Queried for id %" G_GINT64_FORMAT "d in column %d "
+ g_critical ("Queried for id %" G_GINT64_FORMAT " in column %d "
"but it is not found, bailing out", id, col);
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]