[tracker/wip/carlosg/tracker-3.0-api-breaks: 85/100] 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: 85/100] libtracker-bus: Correctly configure the TrackerNotifier on creation
- Date: Mon, 17 Feb 2020 18:15:57 +0000 (UTC)
commit 0befdf9f0f4f8fdde0b118dee76d4fa5a54b7833
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]