From 0a22b058b50562e86f77442840ca3c7c361e2643 Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Thu, 3 Mar 2016 11:35:45 -0600 Subject: [PATCH] connect sigterm to gtk_main_quit --- src/lightdm-webkit2-greeter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lightdm-webkit2-greeter.c b/src/lightdm-webkit2-greeter.c index 890deeb..439e3b9 100644 --- a/src/lightdm-webkit2-greeter.c +++ b/src/lightdm-webkit2-greeter.c @@ -207,6 +207,7 @@ main(int argc, char **argv) { textdomain (GETTEXT_PACKAGE); gtk_init(&argc, &argv); + g_unix_signal_add(SIGTERM, gtk_main_quit, NULL); /* Apply greeter settings from config file */ keyfile = g_key_file_new();