diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-10-06 12:39:49 -0500 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-29 14:37:39 +0200 |
commit | 5ab8ee23903ec5a1eb1779164d65cb944195dc76 (patch) | |
tree | b39cfb7cc28413b6dea11a975b1c3373017670fb /tests/notification-fixture.h | |
parent | 6863282c60b01752ecd53ea329a74940ee8380e4 (diff) | |
download | ayatana-indicator-datetime-5ab8ee23903ec5a1eb1779164d65cb944195dc76.tar.gz ayatana-indicator-datetime-5ab8ee23903ec5a1eb1779164d65cb944195dc76.tar.bz2 ayatana-indicator-datetime-5ab8ee23903ec5a1eb1779164d65cb944195dc76.zip |
In main.cpp and tests where Snap is instantiated, provide the system_bus to Snap's constructor
Diffstat (limited to 'tests/notification-fixture.h')
-rw-r--r-- | tests/notification-fixture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/notification-fixture.h b/tests/notification-fixture.h index 0c24843..cbce9ff 100644 --- a/tests/notification-fixture.h +++ b/tests/notification-fixture.h @@ -334,7 +334,7 @@ protected: const std::shared_ptr<ayatana::indicator::notifications::SoundBuilder>& sb, const std::shared_ptr<ayatana::indicator::datetime::Settings>& settings) { - auto snap = std::make_shared<ayatana::indicator::datetime::Snap>(ne, sb, settings); + auto snap = std::make_shared<ayatana::indicator::datetime::Snap>(ne, sb, settings, system_bus); wait_msec(100); // wait a moment for the Snap to finish its async dbus bootstrapping return snap; } |