aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
-rw-r--r--src/snap.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6cad190..255b62c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -151,7 +151,7 @@ main(int /*argc*/, char** /*argv*/)
// set up the snap decisions
auto snooze_planner = std::make_shared<SnoozePlanner>(state->settings, state->clock);
auto notification_engine = std::make_shared<ain::Engine>("ayatana-indicator-datetime-service");
- auto sound_builder = std::make_shared<uin::DefaultSoundBuilder>();
+ auto sound_builder = std::make_shared<ain::DefaultSoundBuilder>();
std::unique_ptr<Snap> snap (new Snap(notification_engine, sound_builder, state->settings, system_bus));
auto alarm_queue = create_simple_alarm_queue(state->clock, snooze_planner, engine, timezone_);
auto on_response = [snooze_planner, actions](const Appointment& appointment, const Alarm& alarm, const Snap::Response& response) {
diff --git a/src/snap.cpp b/src/snap.cpp
index 00c4743..0ef6a94 100644
--- a/src/snap.cpp
+++ b/src/snap.cpp
@@ -300,6 +300,7 @@ private:
}
const std::shared_ptr<ayatana::indicator::notifications::Engine> m_engine;
+ const std::shared_ptr<ayatana::indicator::notifications::SoundBuilder> m_sound_builder;
const std::shared_ptr<const Settings> m_settings;
std::set<int> m_notifications;
GCancellable * m_cancellable {nullptr};