[tracker/wip/carlosg/notifier-service-queries: 1/3] libtracker-bus: Add bus-name and bus-object-path as connection properties



commit ef12c507612a2aef70318faeff0bd0646609e688
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Jun 21 14:43:59 2020 +0200

    libtracker-bus: Add bus-name and bus-object-path as connection properties
    
    We need to peek those internally, expose these (somewhat) as object
    properties

 src/libtracker-bus/tracker-bus.vala | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/src/libtracker-bus/tracker-bus.vala b/src/libtracker-bus/tracker-bus.vala
index fb77c04e8..da4d008e6 100644
--- a/src/libtracker-bus/tracker-bus.vala
+++ b/src/libtracker-bus/tracker-bus.vala
@@ -24,6 +24,14 @@ public class Tracker.Bus.Connection : Tracker.Sparql.Connection {
 
        private const string ENDPOINT_IFACE = "org.freedesktop.Tracker3.Endpoint";
 
+       public string bus_name {
+               get { return dbus_name; }
+       }
+
+       public string bus_object_path {
+               get { return object_path; }
+       }
+
        public Connection (string dbus_name, string object_path, DBusConnection? dbus_connection) throws 
Sparql.Error, IOError, DBusError, GLib.Error {
                Object ();
                this.dbus_name = dbus_name;


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