summaryrefslogtreecommitdiff
path: root/gui/simple-greeter/greeter-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/simple-greeter/greeter-main.c')
-rw-r--r--gui/simple-greeter/greeter-main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/simple-greeter/greeter-main.c b/gui/simple-greeter/greeter-main.c
index 85d9603e..c52af968 100644
--- a/gui/simple-greeter/greeter-main.c
+++ b/gui/simple-greeter/greeter-main.c
@@ -140,6 +140,11 @@ session_manager_connect (void)
g_error_free (error);
exit (1);
}
+
+ g_signal_connect (G_OBJECT (bus_connection),
+ "closed",
+ G_CALLBACK (gtk_main_quit),
+ NULL);
}
sm_proxy = gsm_manager_proxy_new_sync (bus_connection,