diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-03-18 20:20:26 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-03-18 20:20:26 +0000 |
commit | b26c97936312634da3fb30e818a76ce2a5a03992 (patch) | |
tree | 7bd1abcdb49ab687338e40068ec75a24a199e1ca /src/sound-service.c | |
parent | 69049dd2d6011e9ab96f4f439d00e1de98178449 (diff) | |
parent | da7146ab578829c406c4d3ccde8b89443ba634c9 (diff) | |
download | ayatana-indicator-sound-b26c97936312634da3fb30e818a76ce2a5a03992.tar.gz ayatana-indicator-sound-b26c97936312634da3fb30e818a76ce2a5a03992.tar.bz2 ayatana-indicator-sound-b26c97936312634da3fb30e818a76ce2a5a03992.zip |
merged in updates from trunk and fixed the tests on the indicator
Diffstat (limited to 'src/sound-service.c')
-rw-r--r-- | src/sound-service.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sound-service.c b/src/sound-service.c index 815fcdc..403b2b0 100644 --- a/src/sound-service.c +++ b/src/sound-service.c @@ -26,6 +26,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>. static GMainLoop *mainloop = NULL; + /**********************************************************************************************************************/ // Init and exit functions /**********************************************************************************************************************/ @@ -35,6 +36,7 @@ service_shutdown: When the service interface starts to shutdown, we should follow it. **/ + void service_shutdown (IndicatorService *service, gpointer user_data) { @@ -42,12 +44,13 @@ service_shutdown (IndicatorService *service, gpointer user_data) if (mainloop != NULL) { g_debug("Service shutdown !"); // TODO: uncomment for release !! -/* close_pulse_activites();*/ -/* g_main_loop_quit(mainloop);*/ + close_pulse_activites(); + g_main_loop_quit(mainloop); } return; } + /** main: **/ |