aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
diff options
context:
space:
mode:
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)