From 6f17aafce97f37c9f95419783c60a92359425cfa Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Sat, 26 Mar 2016 23:57:22 -0500 Subject: [PATCH] fix invalid pointer warning at build time/ --- src/lightdm-webkit2-greeter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lightdm-webkit2-greeter.c b/src/lightdm-webkit2-greeter.c index 895449b..be2af61 100644 --- a/src/lightdm-webkit2-greeter.c +++ b/src/lightdm-webkit2-greeter.c @@ -190,7 +190,7 @@ main(int argc, char **argv) { textdomain (GETTEXT_PACKAGE); gtk_init(&argc, &argv); - g_unix_signal_add(SIGTERM, gtk_main_quit, NULL); + g_unix_signal_add(SIGTERM, (GSourceFunc) gtk_main_quit, NULL); /* Apply greeter settings from config file */ keyfile = g_key_file_new();