Commit ab29a9cd authored by Carlos Garnacho's avatar Carlos Garnacho

miners: Fix tracker-store DBus name watch along miners

parent 8332ab18
Pipeline #27485 passed with stage
in 6 minutes and 1 second
......@@ -249,7 +249,7 @@ main (gint argc, gchar *argv[])
main_loop = g_main_loop_new (NULL, FALSE);
if (domain_ontology) {
domain_name = tracker_domain_ontology_get_domain (domain_ontology, NULL);
domain_name = tracker_domain_ontology_get_domain (domain_ontology, "Tracker1");
g_bus_watch_name_on_connection (connection, domain_name,
G_BUS_NAME_WATCHER_FLAGS_NONE,
NULL, on_domain_vanished,
......
......@@ -750,7 +750,7 @@ main (gint argc, gchar *argv[])
main_loop = g_main_loop_new (NULL, FALSE);
if (domain_ontology) {
domain_name = tracker_domain_ontology_get_domain (domain_ontology, NULL);
domain_name = tracker_domain_ontology_get_domain (domain_ontology, "Tracker1");
g_bus_watch_name_on_connection (connection, domain_name,
G_BUS_NAME_WATCHER_FLAGS_NONE,
NULL, on_domain_vanished,
......
......@@ -218,7 +218,7 @@ main (int argc, char **argv)
loop = g_main_loop_new (NULL, FALSE);
if (domain_ontology) {
domain_name = tracker_domain_ontology_get_domain (domain_ontology, NULL);
domain_name = tracker_domain_ontology_get_domain (domain_ontology, "Tracker1");
g_bus_watch_name_on_connection (connection, domain_ontology_name,
G_BUS_NAME_WATCHER_FLAGS_NONE,
NULL, on_domain_vanished,
......
......@@ -495,7 +495,7 @@ main (int argc, char *argv[])
main_loop = g_main_loop_new (NULL, FALSE);
if (domain_ontology) {
domain_name = tracker_domain_ontology_get_domain (domain_ontology, NULL);
domain_name = tracker_domain_ontology_get_domain (domain_ontology, "Tracker1");
g_bus_watch_name_on_connection (connection, domain_name,
G_BUS_NAME_WATCHER_FLAGS_NONE,
NULL, on_domain_vanished,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment