aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-02-01 12:24:34 -0600
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 10:17:14 +0200
commit557e10a031b886dc670bdf5918c3984edbace5ac (patch)
treed214fc6b61a7b6d537ed7bb902188554c7f0d23e /src/notifier.c
parentf4d66118c3a845892b32495efec3d6473e17baca (diff)
downloadayatana-indicator-power-557e10a031b886dc670bdf5918c3984edbace5ac.tar.gz
ayatana-indicator-power-557e10a031b886dc670bdf5918c3984edbace5ac.tar.bz2
ayatana-indicator-power-557e10a031b886dc670bdf5918c3984edbace5ac.zip
remove dead code
Diffstat (limited to 'src/notifier.c')
-rw-r--r--src/notifier.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 00a00e5..da5c5d5 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -311,7 +311,9 @@ notification_show(IndicatorPowerNotifier * self)
if (are_actions_supported(self))
{
+ #ifdef HAS_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS
if (!silent_mode(self))
+ #endif
{
gchar* filename = datafile_find(DATAFILE_TYPE_SOUND, LOW_BATTERY_SOUND);
if (filename != NULL)