diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2018-04-20 19:00:31 +0200 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2018-08-11 20:14:54 +0200 |
commit | eb24ea93bc550934d15223d002b490143e604921 (patch) | |
tree | 2a1c2151161a7178550871b43ebb84647107fcf3 /tests/functional-tests/ipc/test-bus-update.vala | |
parent | 061667e1eeac036130a944083aca4fcf16004e6a (diff) | |
download | tracker-sam/tracker-sparql-connection-set-dbus-connection.tar.gz |
Add tracker_sparql_connection_get/set_dbus_connection()sam/tracker-sparql-connection-set-dbus-connection
Currently it's only possible to open a TrackerSparqlConnection to
an instance of Tracker that is running on the session-wide message bus.
There are use cases for running the Tracker daemons on a private
session bus though. In fact it's necessary to do this if you want to
set up a custom domain without having to become root and create .service
files in /usr/share/dbus-1/services. It would also be useful for the
functional-tests to be able to use libtracker-sparql instead of having
to talk directly to Tracker's D-Bus API.
Diffstat (limited to 'tests/functional-tests/ipc/test-bus-update.vala')
-rw-r--r-- | tests/functional-tests/ipc/test-bus-update.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional-tests/ipc/test-bus-update.vala b/tests/functional-tests/ipc/test-bus-update.vala index b818a5f02..997dc9e7c 100644 --- a/tests/functional-tests/ipc/test-bus-update.vala +++ b/tests/functional-tests/ipc/test-bus-update.vala @@ -5,7 +5,7 @@ int main( string[] args ) { try { - TestApp app = new TestApp (new Tracker.Bus.Connection ("org.freedesktop.Tracker1")); + TestApp app = new TestApp (new Tracker.Bus.Connection ("org.freedesktop.Tracker1", null)); return app.run (); } catch (GLib.Error e) { |