From 2cd668bdbe1abed966b67aeed0bdde0d11cbc1d4 Mon Sep 17 00:00:00 2001 From: Scott Balneaves Date: Sat, 27 Feb 2016 12:47:59 -0600 Subject: [PATCH] Add back in the g_unix_signal_add which appears to have been dropped (cherry picked from commit 2a6974a) --- 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 cbc4f24..9204c59 100644 --- a/src/lightdm-webkit2-greeter.c +++ b/src/lightdm-webkit2-greeter.c @@ -215,6 +215,7 @@ main(int argc, char **argv) { textdomain (GETTEXT_PACKAGE); gtk_init(&argc, &argv); + g_unix_signal_add(SIGTERM, (GSourceFunc) quit_cb, /* is callback */ NULL); /* Apply greeter settings from config file */ keyfile = g_key_file_new();