diff options
author | Ted Gould <ted@gould.cx> | 2015-02-09 14:08:01 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2015-02-09 14:08:01 -0600 |
commit | 330b0347282f3e6de77cfe58176ad764495676ec (patch) | |
tree | 684950bf782f313e41d67484d136a7b7758ae204 /src/main.c | |
parent | 89466547b9547e0786e3919acab787f669798443 (diff) | |
download | ayatana-indicator-sound-330b0347282f3e6de77cfe58176ad764495676ec.tar.gz ayatana-indicator-sound-330b0347282f3e6de77cfe58176ad764495676ec.tar.bz2 ayatana-indicator-sound-330b0347282f3e6de77cfe58176ad764495676ec.zip |
Make it so that we can inject the volume control object into the service
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |