[tracker-miners/wip/carlosg/cli-improvements: 40/47] tracker-miner-rss: Specify the ontology correctly
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/cli-improvements: 40/47] tracker-miner-rss: Specify the ontology correctly
- Date: Wed, 19 Aug 2020 11:31:31 +0000 (UTC)
commit cedd42dcee7804a0da05ad0ae747cea3197819a7
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Aug 18 10:52:25 2020 +0200
tracker-miner-rss: Specify the ontology correctly
This broke some time ago it seems, with the addition of the nepomuk
ontology location helper.
src/miners/rss/tracker-main.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/miners/rss/tracker-main.c b/src/miners/rss/tracker-main.c
index 9059240b0..5adca3ce0 100644
--- a/src/miners/rss/tracker-main.c
+++ b/src/miners/rss/tracker-main.c
@@ -91,16 +91,18 @@ setup_connection_and_endpoint (TrackerDomainOntology *domain,
TrackerEndpointDBus **endpoint,
GError **error)
{
- GFile *cache, *store;
+ GFile *cache, *store, *ontology;
cache = tracker_domain_ontology_get_cache (domain);
store = g_file_get_child (cache, "rss");
+ ontology = tracker_sparql_get_ontology_nepomuk ();
*sparql_conn = tracker_sparql_connection_new (get_fts_connection_flags (),
store,
- NULL,
+ ontology,
NULL,
error);
g_object_unref (store);
+ g_object_unref (ontology);
if (!*sparql_conn)
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]