diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-07-11 17:25:08 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-07-11 18:13:46 +0200 |
commit | 0d6e822f0799ca587ed88f6492baad9606629648 (patch) | |
tree | e3750583c2b925ca2e36baa56056a175e82c306a | |
parent | e253acc8c1a1db659d66f55bcb18638a4059b22a (diff) | |
download | tracker-0d6e822f0799ca587ed88f6492baad9606629648.tar.gz |
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...
-rw-r--r-- | 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 e5a9617d3..c9e4e7600 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; } |