Commit f33db522 authored by Carlos Garnacho's avatar Carlos Garnacho

tracker-miner-rss: Fixup domain ontology name watch

The domain_ontology_name variable may actually contain also a full
path. We must look up the domain through the TrackerDomainOntology.
parent bf026b56
Pipeline #40387 passed with stage
in 2 minutes
...@@ -224,7 +224,7 @@ main (int argc, char **argv) ...@@ -224,7 +224,7 @@ main (int argc, char **argv)
* soon as org.example.MyApp exits. * soon as org.example.MyApp exits.
*/ */
domain_name = tracker_domain_ontology_get_domain (domain_ontology, NULL); domain_name = tracker_domain_ontology_get_domain (domain_ontology, NULL);
g_bus_watch_name_on_connection (connection, domain_ontology_name, g_bus_watch_name_on_connection (connection, domain_name,
G_BUS_NAME_WATCHER_FLAGS_NONE, G_BUS_NAME_WATCHER_FLAGS_NONE,
NULL, on_domain_vanished, NULL, on_domain_vanished,
loop, NULL); loop, NULL);
......
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