From 1f9783e2d9005deac37a1bdb80958de1f3fc8a13 Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Mon, 12 Oct 2015 22:06:10 -0500 Subject: [PATCH] worry about quite callback later --- src/Makefile.am | 1 - src/lightdm-webkit2-greeter-ext.c | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 7be3ec7..af0f896 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,7 +30,6 @@ lightdm_webkit2_greeter_CFLAGS = \ $(WARN_CFLAGS) \ -DLIGHTDM_WEBKIT2_GREETER_EXTENSIONS_DIR=\""$(libdir)/lightdm-webkit2-greeter"\" \ -DVERSION=\"$(VERSION)\" \ - -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \ -DLOCALE_DIR=\"$(localedir)\" \ -DBINARY=\"lightdm-webkit2-greeter\" diff --git a/src/lightdm-webkit2-greeter-ext.c b/src/lightdm-webkit2-greeter-ext.c index 8d79044..b98695c 100644 --- a/src/lightdm-webkit2-greeter-ext.c +++ b/src/lightdm-webkit2-greeter-ext.c @@ -1011,7 +1011,7 @@ authentication_complete_cb(LightDMGreeter *greeter, WebKitWebExtension *extensio } } -static gboolean +/*static gboolean fade_timer_cb(gpointer data) { gdouble opacity; @@ -1031,7 +1031,7 @@ quit_cb(LightDMGreeter *greeter, const gchar *username) { // Fade out the greeter g_timeout_add(40, (GSourceFunc) fade_timer_cb, NULL); -} +}*/ G_MODULE_EXPORT void webkit_web_extension_initialize(WebKitWebExtension *extension) { @@ -1043,7 +1043,7 @@ webkit_web_extension_initialize(WebKitWebExtension *extension) { g_signal_connect(G_OBJECT(greeter), "show-prompt", G_CALLBACK(show_prompt_cb), extension); g_signal_connect(G_OBJECT(greeter), "show-message", G_CALLBACK(show_message_cb), extension); g_signal_connect(G_OBJECT(greeter), "show-error", G_CALLBACK(show_message_cb), extension); - g_signal_connect(G_OBJECT(greeter), "quit", G_CALLBACK(quit_cb), extension); +// g_signal_connect(G_OBJECT(greeter), "quit", G_CALLBACK(quit_cb), extension); g_signal_connect(extension, "page-created", G_CALLBACK(web_page_created_callback), NULL);