[tracker/wip/carlosg/tracker-3.0-api-breaks: 83/92] libtracker-bus: Correctly configure the TrackerNotifier on creation



commit a0ba5fda6589eec11f90d1d3eb0112dde7cd1a5e
Author: Sam Thursfield <sam afuera me uk>
Date:   Mon Jan 27 22:10:44 2020 +0100

    libtracker-bus: Correctly configure the TrackerNotifier on creation

 src/libtracker-bus/tracker-bus.vala | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/libtracker-bus/tracker-bus.vala b/src/libtracker-bus/tracker-bus.vala
index f6bf84952..72e21f770 100644
--- a/src/libtracker-bus/tracker-bus.vala
+++ b/src/libtracker-bus/tracker-bus.vala
@@ -261,7 +261,9 @@ public class Tracker.Bus.Connection : Tracker.Sparql.Connection {
        }
 
        public override Tracker.Notifier? create_notifier (Tracker.NotifierFlags flags) {
-               var notifier = (Tracker.Notifier) Object.new (typeof (Tracker.Notifier));
+               var notifier = (Tracker.Notifier) Object.new (typeof (Tracker.Notifier),
+                                                             "connection", this,
+                                                             "flags", flags, null);
 
                notifier.signal_subscribe (this.bus, this.dbus_name, null);
 


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