[tracker-miners/wip/carlosg/tracker-3.0-api-breaks: 32/40] Adapt to tracker_sparql_connection_bus_new() API change
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/tracker-3.0-api-breaks: 32/40] Adapt to tracker_sparql_connection_bus_new() API change
- Date: Mon, 17 Feb 2020 12:27:05 +0000 (UTC)
commit 64ce486efa28b2b6d243d627135289b02425eefd
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jan 13 15:58:55 2020 +0100
Adapt to tracker_sparql_connection_bus_new() API change
It now takes an optional object_path argument (default on NULL object_path
being /org/freedesktop/Tracker1/Endpoint).
src/miners/rss/tracker-main.c | 2 +-
src/tracker-extract/tracker-main.c | 2 +-
src/tracker-writeback/tracker-writeback.c | 2 +-
src/tracker/tracker-daemon.c | 2 +-
src/tracker/tracker-index.c | 2 +-
src/tracker/tracker-reset.c | 2 +-
src/tracker/tracker-search.c | 2 +-
src/tracker/tracker-status.c | 6 +++---
src/tracker/tracker-tag.c | 2 +-
9 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/miners/rss/tracker-main.c b/src/miners/rss/tracker-main.c
index c7e031cbf..c13d716bd 100644
--- a/src/miners/rss/tracker-main.c
+++ b/src/miners/rss/tracker-main.c
@@ -151,7 +151,7 @@ main (int argc, char **argv)
add_feed);
connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.RSS",
- NULL, &error);
+ NULL, NULL, &error);
if (!connection) {
g_printerr ("%s: %s\n",
diff --git a/src/tracker-extract/tracker-main.c b/src/tracker-extract/tracker-main.c
index 9275d5677..f97223a1c 100644
--- a/src/tracker-extract/tracker-main.c
+++ b/src/tracker-extract/tracker-main.c
@@ -415,7 +415,7 @@ main (int argc, char *argv[])
dbus_name = tracker_domain_ontology_get_domain (domain_ontology, "Tracker1.Miner.Files");
sparql_connection = tracker_sparql_connection_bus_new (dbus_name,
- NULL, &error);
+ NULL, NULL, &error);
if (error) {
g_critical ("Could not connect to filesystem miner endpoint: %s",
diff --git a/src/tracker-writeback/tracker-writeback.c b/src/tracker-writeback/tracker-writeback.c
index 58e9b88c0..600c03610 100644
--- a/src/tracker-writeback/tracker-writeback.c
+++ b/src/tracker-writeback/tracker-writeback.c
@@ -728,7 +728,7 @@ tracker_controller_dbus_start (TrackerController *controller,
priv = tracker_controller_get_instance_private (controller);
priv->connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.Files",
- NULL, &err);
+ NULL, NULL, &err);
if (!priv->connection) {
g_propagate_error (error, err);
diff --git a/src/tracker/tracker-daemon.c b/src/tracker/tracker-daemon.c
index 694aea243..8e0c381fb 100644
--- a/src/tracker/tracker-daemon.c
+++ b/src/tracker/tracker-daemon.c
@@ -971,7 +971,7 @@ daemon_run (void)
GError *error = NULL;
sparql_connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.Files",
- NULL, &error);
+ NULL, NULL, &error);
if (!sparql_connection) {
g_critical ("%s, %s",
diff --git a/src/tracker/tracker-index.c b/src/tracker/tracker-index.c
index 8426ebfdc..ab1e864cc 100644
--- a/src/tracker/tracker-index.c
+++ b/src/tracker/tracker-index.c
@@ -189,7 +189,7 @@ import_turtle_files (void)
gchar **p;
connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.Files",
- NULL, &error);
+ NULL, NULL, &error);
if (!connection) {
g_printerr ("%s: %s\n",
diff --git a/src/tracker/tracker-reset.c b/src/tracker/tracker-reset.c
index 5e803db2f..d5777f6d4 100644
--- a/src/tracker/tracker-reset.c
+++ b/src/tracker/tracker-reset.c
@@ -73,7 +73,7 @@ delete_info_recursively (GFile *file)
GError *error = NULL;
connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.Files",
- NULL, &error);
+ NULL, NULL, &error);
if (error)
goto error;
diff --git a/src/tracker/tracker-search.c b/src/tracker/tracker-search.c
index 4f27efd78..70f858ada 100644
--- a/src/tracker/tracker-search.c
+++ b/src/tracker/tracker-search.c
@@ -1573,7 +1573,7 @@ search_run (void)
#endif
connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.Files",
- NULL, &error);
+ NULL, NULL, &error);
if (!connection) {
g_printerr ("%s: %s\n",
diff --git a/src/tracker/tracker-status.c b/src/tracker/tracker-status.c
index ed1dab4f1..732057096 100644
--- a/src/tracker/tracker-status.c
+++ b/src/tracker/tracker-status.c
@@ -80,7 +80,7 @@ status_stat (void)
GError *error = NULL;
connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.Files",
- NULL, &error);
+ NULL, NULL, &error);
if (!connection) {
g_printerr ("%s: %s\n",
@@ -310,7 +310,7 @@ collect_debug (void)
g_print ("[%s]\n", _("Data Statistics"));
connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.Files",
- NULL, &error);
+ NULL, NULL, &error);
if (!connection) {
g_print ("** %s, %s **\n",
@@ -387,7 +387,7 @@ get_file_and_folder_count (int *files,
GError *error = NULL;
connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.Files",
- NULL, &error);
+ NULL, NULL, &error);
if (files) {
*files = 0;
diff --git a/src/tracker/tracker-tag.c b/src/tracker/tracker-tag.c
index 60a9f0c6b..0eb0c9ceb 100644
--- a/src/tracker/tracker-tag.c
+++ b/src/tracker/tracker-tag.c
@@ -968,7 +968,7 @@ tag_run (void)
GError *error = NULL;
connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.Files",
- NULL, &error);
+ NULL, NULL, &error);
if (!connection) {
g_printerr ("%s: %s\n",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]