diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-10-06 12:39:49 -0500 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-08 04:19:18 +0200 |
commit | 0e7d17165316c373dcf936bc5b56fb39f17283a4 (patch) | |
tree | 49a596d2cf51a5c27846cd26007420ad89507f01 /tests/notification-fixture.h | |
parent | 34f44f959b63d64f0eec2f16e322796a5bea7c3a (diff) | |
download | ayatana-indicator-datetime-0e7d17165316c373dcf936bc5b56fb39f17283a4.tar.gz ayatana-indicator-datetime-0e7d17165316c373dcf936bc5b56fb39f17283a4.tar.bz2 ayatana-indicator-datetime-0e7d17165316c373dcf936bc5b56fb39f17283a4.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; } |