aboutsummaryrefslogtreecommitdiff
path: root/src/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 /src/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 'src/snap.cpp')
-rw-r--r--src/snap.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/snap.cpp b/src/snap.cpp
index 72d68a2..97fcbab 100644
--- a/src/snap.cpp
+++ b/src/snap.cpp
@@ -226,11 +226,6 @@ private:
};
std::string uri;
-
- // does not play any sound if alarm is not set as sound
- if (!is_alarm && !(alarm.type & Alarm::SOUND))
- return uri;
-
for(const auto& candidate : candidates)
{
if (gst_uri_is_valid (candidate.c_str()))