[tracker-miners/wip/carlosg/writeback-refactor: 9/13] tracker-writeback: Drop internal TrackerSparqlConnection
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/writeback-refactor: 9/13] tracker-writeback: Drop internal TrackerSparqlConnection
- Date: Wed, 20 May 2020 20:56:56 +0000 (UTC)
commit 0b8fdd6a1b8371282aef74fe4fdfcb14cb755f47
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed May 20 14:10:00 2020 +0200
tracker-writeback: Drop internal TrackerSparqlConnection
This is no longer needed, as tracker-writeback is independent from
(any) store contents.
src/tracker-writeback/tracker-writeback.c | 13 -------------
1 file changed, 13 deletions(-)
---
diff --git a/src/tracker-writeback/tracker-writeback.c b/src/tracker-writeback/tracker-writeback.c
index 078512409..f28786982 100644
--- a/src/tracker-writeback/tracker-writeback.c
+++ b/src/tracker-writeback/tracker-writeback.c
@@ -67,7 +67,6 @@ typedef struct {
guint initialized : 1;
GHashTable *modules;
- TrackerSparqlConnection *connection;
WritebackData *current;
} TrackerControllerPrivate;
@@ -643,14 +642,6 @@ tracker_controller_dbus_start (TrackerController *controller,
priv = tracker_controller_get_instance_private (controller);
- priv->connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker3.Miner.Files",
- NULL, NULL, &err);
-
- if (!priv->connection) {
- g_propagate_error (error, err);
- return FALSE;
- }
-
priv->d_connection = g_bus_get_sync (TRACKER_IPC_BUS, NULL, &err);
if (!priv->d_connection) {
@@ -725,10 +716,6 @@ tracker_controller_dbus_stop (TrackerController *controller)
if (priv->d_connection) {
g_object_unref (priv->d_connection);
}
-
- if (priv->connection) {
- g_object_unref (priv->connection);
- }
}
TrackerController *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]