[tracker-miners/wip/carlosg/tracker-3.0-api-breaks: 40/57] tracker-writeback: Connect to tracker-miner-fs endpoint



commit 889d1cc5537553ce76987cb96b59fd3a292702f1
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Dec 31 01:56:07 2019 +0100

    tracker-writeback: Connect to tracker-miner-fs endpoint
    
    Make it so thus far, the tracker-miner-fs endpoint data is not
    supposed to be modified outside the tracker-miner-fs/tracker-extract
    couple. So this service will eventually need to talk with other
    arbitrary endpoints in order to retrieve data to write back.

 src/tracker-writeback/tracker-writeback.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/tracker-writeback/tracker-writeback.c b/src/tracker-writeback/tracker-writeback.c
index 24e44365f..58e9b88c0 100644
--- a/src/tracker-writeback/tracker-writeback.c
+++ b/src/tracker-writeback/tracker-writeback.c
@@ -727,7 +727,8 @@ tracker_controller_dbus_start (TrackerController   *controller,
 
        priv = tracker_controller_get_instance_private (controller);
 
-       priv->connection = tracker_sparql_connection_get (NULL, &err);
+       priv->connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.Files",
+                                                             NULL, &err);
 
        if (!priv->connection) {
                g_propagate_error (error, err);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]