[tracker/wip/carlosg/tracker-3.0-api-breaks: 83/95] libtracker-bus: Correctly configure the TrackerNotifier on creation
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/tracker-3.0-api-breaks: 83/95] libtracker-bus: Correctly configure the TrackerNotifier on creation
- Date: Fri, 14 Feb 2020 13:37:36 +0000 (UTC)
commit 38c00bac4465deb496e51897be1a849eff86909b
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]