aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-03-03 17:33:28 +0000
committerConor Curran <conor.curran@canonical.com>2010-03-03 17:33:28 +0000
commit55fe3e5a44992862735b4ef2208300dbfccacebb (patch)
tree20da22ba2f173d74e895a24676a8e2bd16766fae /src
parenteb3df565591fb7474aa5290db83ca601a7edd1ee (diff)
downloadayatana-indicator-sound-55fe3e5a44992862735b4ef2208300dbfccacebb.tar.gz
ayatana-indicator-sound-55fe3e5a44992862735b4ef2208300dbfccacebb.tar.bz2
ayatana-indicator-sound-55fe3e5a44992862735b4ef2208300dbfccacebb.zip
removed trace and made sure the service closes down probably
Diffstat (limited to 'src')
-rw-r--r--src/indicator-sound.c1
-rw-r--r--src/sound-service.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index 63d48aa..1301916 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -442,7 +442,6 @@ static gboolean key_press_cb(GtkWidget* widget, GdkEventKey* event, gpointer dat
GtkWidget *menuitem;
menuitem = GTK_MENU_SHELL (widget)->active_menu_item;
-/* g_print ("object (%p) name should be %s", menuitem, G_OBJECT_TYPE_NAME(menuitem));*/
if(IDO_IS_SCALE_MENU_ITEM(menuitem) == TRUE)
{
switch(event->keyval)
diff --git a/src/sound-service.c b/src/sound-service.c
index af1f1e9..91b5af3 100644
--- a/src/sound-service.c
+++ b/src/sound-service.c
@@ -137,8 +137,8 @@ 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;
}