summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2020-03-08 14:42:02 +0100
committerCarlos Garnacho <carlosg@gnome.org>2020-04-05 14:37:41 +0200
commit8ada6588f17028044ec3929ffeb3bfa46f71da76 (patch)
tree3d5b355e9e60f757e5922fa32d91414869e5d59c /docs/reference
parent9c2b370aa9c2ee307a269537bfafb60b4ebeb059 (diff)
downloadtracker-8ada6588f17028044ec3929ffeb3bfa46f71da76.tar.gz
docs: Update references to tracker-miners DBus names
It's bumping to org.freedesktop.Tracker3.*
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/libtracker-sparql/examples/readonly-example.c2
-rw-r--r--docs/reference/libtracker-sparql/examples/writeonly-example.c2
-rw-r--r--docs/reference/libtracker-sparql/migrating-2to3.xml4
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/reference/libtracker-sparql/examples/readonly-example.c b/docs/reference/libtracker-sparql/examples/readonly-example.c
index d65c61aa2..6ede580df 100644
--- a/docs/reference/libtracker-sparql/examples/readonly-example.c
+++ b/docs/reference/libtracker-sparql/examples/readonly-example.c
@@ -7,7 +7,7 @@ int main (int argc, const char **argv)
TrackerSparqlCursor *cursor;
const gchar *query = "SELECT nie:url(?u) WHERE { ?u a nfo:FileDataObject }";
- connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1", NULL, NULL, &error);
+ connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker3.Miner.Files", NULL, NULL, &error);
if (!connection) {
g_printerr ("Couldn't obtain a connection to the Tracker store: %s",
error ? error->message : "unknown error");
diff --git a/docs/reference/libtracker-sparql/examples/writeonly-example.c b/docs/reference/libtracker-sparql/examples/writeonly-example.c
index 7a7cd7e67..eb52ac316 100644
--- a/docs/reference/libtracker-sparql/examples/writeonly-example.c
+++ b/docs/reference/libtracker-sparql/examples/writeonly-example.c
@@ -16,7 +16,7 @@ int main (int argc, const char **argv)
"FILTER (!bound(?tag)) "
"}";
- connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1", NULL, NULL, &error);
+ connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker3.Miner.Files", NULL, NULL, &error);
if (!connection) {
g_printerr ("Couldn't obtain a connection to the Tracker store: %s",
error ? error->message : "unknown error");
diff --git a/docs/reference/libtracker-sparql/migrating-2to3.xml b/docs/reference/libtracker-sparql/migrating-2to3.xml
index 8e300944b..3643ab9b1 100644
--- a/docs/reference/libtracker-sparql/migrating-2to3.xml
+++ b/docs/reference/libtracker-sparql/migrating-2to3.xml
@@ -157,7 +157,7 @@ ORDER BY DESC ?count
tracker-miner-fs data, you can create a dedicated DBus connection to it through:
</para>
<programlisting>
- conn = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker1.Miner.Files", ...);
+ conn = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker3.Miner.Files", ...);
</programlisting>
<para>
If you are interested in storing your own data, you can do it through:
@@ -171,7 +171,7 @@ ORDER BY DESC ?count
</para>
<programlisting>
SELECT ?url ?tag {
- SERVICE &lt;dbus:org.freedesktop.Tracker1.Miner.Files&gt; {
+ SERVICE &lt;dbus:org.freedesktop.Tracker3.Miner.Files&gt; {
?a a rdfs:Resource;
nie:url ?url .
}