aboutsummaryrefslogtreecommitdiff
path: root/tests/service-manager-connect-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-01 13:35:30 -0600
committerTed Gould <ted@gould.cx>2009-12-01 13:35:30 -0600
commit1b1a50d5d5075929eb18622eb0e8b6fc7bff9814 (patch)
tree40977c0fc65fb9e0434e32421cd6f39bb73d6cd3 /tests/service-manager-connect-service.c
parent6e89bf096ce0c261e2fece0cbeb6289ea21e8c5a (diff)
downloadlibayatana-indicator-1b1a50d5d5075929eb18622eb0e8b6fc7bff9814.tar.gz
libayatana-indicator-1b1a50d5d5075929eb18622eb0e8b6fc7bff9814.tar.bz2
libayatana-indicator-1b1a50d5d5075929eb18622eb0e8b6fc7bff9814.zip
Adding a test to ensure that a service gets shutdown by someone unwatching it.
Diffstat (limited to 'tests/service-manager-connect-service.c')
-rw-r--r--tests/service-manager-connect-service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/service-manager-connect-service.c b/tests/service-manager-connect-service.c
index dbdf4fa..d60e414 100644
--- a/tests/service-manager-connect-service.c
+++ b/tests/service-manager-connect-service.c
@@ -28,6 +28,8 @@ main (int argc, char ** argv)
{
g_type_init();
+ g_debug("Starting service");
+
IndicatorService * is = indicator_service_new("org.ayatana.test");
g_signal_connect(G_OBJECT(is), INDICATOR_SERVICE_SIGNAL_SHUTDOWN, shutdown, NULL);