diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 10 | ||||
-rw-r--r-- | src/volume-warning.vala | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a0f9d05..ba8f72a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -39,6 +39,14 @@ vala_init(indicator-sound-service ) vala_add(indicator-sound-service + notification.vala +) +vala_add(indicator-sound-service + warn-notification.vala + DEPENDS + notification +) +vala_add(indicator-sound-service service.vala DEPENDS sound-menu @@ -83,6 +91,8 @@ vala_add(indicator-sound-service options volume-control-pulse volume-control + warn-notification + notification ) vala_add(indicator-sound-service media-player.vala diff --git a/src/volume-warning.vala b/src/volume-warning.vala index 2851f4b..5809f61 100644 --- a/src/volume-warning.vala +++ b/src/volume-warning.vala @@ -37,6 +37,8 @@ public class VolumeWarning : VolumeControl warning("set_mute not supported for VolumeWarning"); } + private IndicatorSound.WarnNotification _notification = new IndicatorSound.WarnNotification(); + /* this is static to ensure it being freed after @context (loop does not have ref counting) */ private static PulseAudio.GLibMainLoop loop; |