diff options
author | Robert Tari <robert@tari.in> | 2021-10-28 06:06:45 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-28 08:19:49 +0200 |
commit | 0492e95dbf6a1f6285a4701379adb6b7d8553d6b (patch) | |
tree | d35fc8583d82f4825a5da9fd0ebc4a7dc9e6bb70 /src/main.cpp | |
parent | 2a52d61b410b9d294c479ad53a06fb6f830b9605 (diff) | |
download | ayatana-indicator-datetime-0492e95dbf6a1f6285a4701379adb6b7d8553d6b.tar.gz ayatana-indicator-datetime-0492e95dbf6a1f6285a4701379adb6b7d8553d6b.tar.bz2 ayatana-indicator-datetime-0492e95dbf6a1f6285a4701379adb6b7d8553d6b.zip |
Drop the 'ubuntu' prefix from the alarm types and functions
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 255b62c..279d7be 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,8 +1,10 @@ /* * Copyright 2013 Canonical Ltd. + * Copyright 2021 Robert Tari * * Authors: * Charles Kerr <charles.kerr@canonical.com> + * Robert Tari <robert@tari.in> * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -168,7 +170,7 @@ main(int /*argc*/, char** /*argv*/) }; auto on_alarm_reached = [&engine, &snap, &on_response](const Appointment& appointment, const Alarm& alarm) { (*snap)(appointment, alarm, on_response); - engine->disable_ubuntu_alarm(appointment); + engine->disable_alarm(appointment); }; alarm_queue->alarm_reached().connect(on_alarm_reached); #endif |