[tracker/wip/carlosg/remote-namespace-manager: 4/6] libtracker-sparql: Add fts namespace to default namespace manager




commit d6d30d424da488bc1716620a3190465a8768c121
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun May 1 20:44:05 2022 +0200

    libtracker-sparql: Add fts namespace to default namespace manager
    
    Just for the sake of consistence, since this is deprecated. Conformity
    will be checked in tests in later commits.

 src/libtracker-sparql/tracker-namespace-manager.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libtracker-sparql/tracker-namespace-manager.c 
b/src/libtracker-sparql/tracker-namespace-manager.c
index 0d439a7ea..68935c9c6 100644
--- a/src/libtracker-sparql/tracker-namespace-manager.c
+++ b/src/libtracker-sparql/tracker-namespace-manager.c
@@ -148,6 +148,8 @@ tracker_namespace_manager_get_default ()
                tracker_namespace_manager_add_prefix (manager, "nmm", TRACKER_PREFIX_NMM);
                tracker_namespace_manager_add_prefix (manager, "mfo", TRACKER_PREFIX_MFO);
                tracker_namespace_manager_add_prefix (manager, "osinfo", TRACKER_PREFIX_OSINFO);
+               tracker_namespace_manager_add_prefix (manager, "fts",
+                                                     "http://tracker.api.gnome.org/ontology/v3/fts#";);
 
                g_once_init_leave (&default_namespace_manager, manager);
        }


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