aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e9a148e..d2a8be8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -29,7 +29,9 @@ main (int argc, char ** argv) {
playerlist = MEDIA_PLAYER_LIST(media_player_list_mpris_new());
}
- service = indicator_sound_service_new (playerlist);
+ VolumeControlPulse * volume = volume_control_pulse_new();
+
+ service = indicator_sound_service_new (playerlist, volume);
result = indicator_sound_service_run (service);
g_object_unref(playerlist);