From 6a501d5787eec8bfef3558d14a36754f7be22858 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Mon, 21 Mar 2011 18:06:24 +0000 Subject: change the mute type on the volume slider to the appropriate type of boolean --- src/sound-service.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sound-service.c') diff --git a/src/sound-service.c b/src/sound-service.c index 7e6426c..c15e94b 100644 --- a/src/sound-service.c +++ b/src/sound-service.c @@ -22,6 +22,8 @@ with this program. If not, see . #include "sound-service-dbus.h" #include "music-player-bridge.h" +#include + static GMainLoop *mainloop = NULL; /**********************************************************************************************************************/ @@ -39,8 +41,10 @@ service_shutdown (IndicatorService *service, gpointer user_data) { if (mainloop != NULL) { g_debug("Service shutdown !"); +/* close_pulse_activites(); g_main_loop_quit(mainloop); +*/ } return; } -- cgit v1.2.3 From 0a7074927f2f600b6e7eb98459b97b73de0baa8d Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Tue, 22 Mar 2011 19:53:19 +0000 Subject: protected now against any type ot irregular spam dbusmenu may throw at it --- src/sound-service.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/sound-service.c') diff --git a/src/sound-service.c b/src/sound-service.c index c15e94b..1324537 100644 --- a/src/sound-service.c +++ b/src/sound-service.c @@ -41,10 +41,8 @@ service_shutdown (IndicatorService *service, gpointer user_data) { if (mainloop != NULL) { g_debug("Service shutdown !"); -/* close_pulse_activites(); g_main_loop_quit(mainloop); -*/ } return; } -- cgit v1.2.3