aboutsummaryrefslogtreecommitdiff
path: root/tests/manual-test-snap.cpp
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-03-31 15:51:29 -0300
committerRobert Tari <robert@tari.in>2021-07-05 01:41:04 +0200
commitb1031b1de834f246bba806cd51bfbb22f5c15b16 (patch)
tree721bedfc5523c1f124c32e850bdb3354928ec011 /tests/manual-test-snap.cpp
parent7965d5b411db00de44f5c43dffac935e70347ec6 (diff)
downloadayatana-indicator-datetime-b1031b1de834f246bba806cd51bfbb22f5c15b16.tar.gz
ayatana-indicator-datetime-b1031b1de834f246bba806cd51bfbb22f5c15b16.tar.bz2
ayatana-indicator-datetime-b1031b1de834f246bba806cd51bfbb22f5c15b16.zip
Remove type property from Alarm.
Diffstat (limited to 'tests/manual-test-snap.cpp')
-rw-r--r--tests/manual-test-snap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual-test-snap.cpp b/tests/manual-test-snap.cpp
index 1479ef9..a0f80f2 100644
--- a/tests/manual-test-snap.cpp
+++ b/tests/manual-test-snap.cpp
@@ -71,7 +71,7 @@ int main(int argc, const char* argv[])
a.type = Appointment::UBUNTU_ALARM;
a.begin = DateTime::Local(2014, 12, 25, 0, 0, 0);
a.end = a.begin.end_of_day();
- a.alarms.push_back(Alarm{Alarm::SOUND, "Alarm Text", "", a.begin});
+ a.alarms.push_back(Alarm{"Alarm Text", "", a.begin});
auto loop = g_main_loop_new(nullptr, false);
auto on_snooze = [loop](const Appointment& appt, const Alarm&){