diff options
author | Ted Gould <ted@gould.cx> | 2010-01-08 14:11:55 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-01-08 14:11:55 -0600 |
commit | 6c2b2fd483e74576aa53a496dee76cdf16fe07d4 (patch) | |
tree | 5aa25a86ff344e8527ace4369bf796f638012cdc /src/application-service.c | |
parent | ae5ff4b699c260dd30ecd59e6c6d58fc5252794d (diff) | |
parent | 5f797d71ef38ddb421e9b26757df8d3e87b84bce (diff) | |
download | ayatana-indicator-application-6c2b2fd483e74576aa53a496dee76cdf16fe07d4.tar.gz ayatana-indicator-application-6c2b2fd483e74576aa53a496dee76cdf16fe07d4.tar.bz2 ayatana-indicator-application-6c2b2fd483e74576aa53a496dee76cdf16fe07d4.zip |
Fixing everything by putting the slots on correctly.
Diffstat (limited to 'src/application-service.c')
-rw-r--r-- | src/application-service.c | 4 |
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)); |