aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-08 13:19:52 -0600
committerTed Gould <ted@gould.cx>2010-01-08 13:19:52 -0600
commit7970210755bb4523c02b122c8a5eaa0d4e83bde7 (patch)
tree0c057a6daebbeb20b75ca0bfb8ee2f3cb79f99eb
parent12aab9617cef451183373e16b70a7a168aa82114 (diff)
downloadayatana-indicator-application-7970210755bb4523c02b122c8a5eaa0d4e83bde7.tar.gz
ayatana-indicator-application-7970210755bb4523c02b122c8a5eaa0d4e83bde7.tar.bz2
ayatana-indicator-application-7970210755bb4523c02b122c8a5eaa0d4e83bde7.zip
Fixing shutdown signal, but disabling for now
-rw-r--r--src/application-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application-service.c b/src/application-service.c
index 45295a1..d21154f 100644
--- a/src/application-service.c
+++ b/src/application-service.c
@@ -43,7 +43,7 @@ service_disconnected (IndicatorService * service, gpointer data)
{
g_debug("Service disconnected");
if (mainloop != NULL) {
- g_main_loop_quit(mainloop);
+ //g_main_loop_quit(mainloop);
}
return;
}
@@ -57,7 +57,7 @@ main (int argc, char ** argv)
/* Bring us up as a basic indicator service */
service = indicator_service_new(INDICATOR_APPLICATION_DBUS_ADDR);
- g_signal_connect(G_OBJECT(service), "disconnected", G_CALLBACK(service_disconnected), NULL);
+ g_signal_connect(G_OBJECT(service), INDICATOR_SERVICE_SIGNAL_SHUTDOWN, G_CALLBACK(service_disconnected), NULL);
/* Building our app store */
appstore = APPLICATION_SERVICE_APPSTORE(g_object_new(APPLICATION_SERVICE_APPSTORE_TYPE, NULL));