From 6a2add97e55f9f0c9a53934d51864e1377cfe91f Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Sat, 1 Oct 2016 00:59:37 -0500 Subject: [PATCH] remove debug output --- src/greeter.c | 4 ---- src/webkit2-extension.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/greeter.c b/src/greeter.c index 74f081c..50adcfb 100644 --- a/src/greeter.c +++ b/src/greeter.c @@ -176,7 +176,6 @@ theme_heartbeat_script_loaded_cb(GObject *object, GAsyncResult *result, gpointer user_data) { - printf("UI PROCESS - theme heartbeat loaded fired!"); WebKitJavascriptResult *js_result; JSValueRef value; JSGlobalContextRef context; @@ -215,7 +214,6 @@ lock_hint_enabled_handler(void) { static void load_theme_heartbeat_script(void) { - printf("UI PROCESS - load theme heartbeat fired!"); webkit_web_view_run_javascript_from_gresource( WEBKIT_WEB_VIEW(web_view), "/com/antergos/lightdm-webkit2-greeter/js/heartbeat.js", @@ -229,7 +227,6 @@ load_theme_heartbeat_script(void) { static void page_loaded_handler(void) { - printf("UI PROCESS - page loaded handler fired!"); load_theme_heartbeat_script(); } @@ -253,7 +250,6 @@ message_received_cb(WebKitUserContentManager *manager, JSValueRef message_val; JSStringRef js_str_val; gsize message_str_length; - printf("UI PROCESS - message received fired!"); context = webkit_javascript_result_get_global_context(message); message_val = webkit_javascript_result_get_value(message); diff --git a/src/webkit2-extension.c b/src/webkit2-extension.c index af758f1..d15ee19 100644 --- a/src/webkit2-extension.c +++ b/src/webkit2-extension.c @@ -1449,8 +1449,6 @@ window_object_cleared_callback(WebKitScriptWorld *world, WebKitFrame *frame, LightDMGreeter *greeter) { - printf("web extension window object cleared fired!"); - JSGlobalContextRef jsContext; WebKitDOMDOMWindow *dom_window; WebKitDOMDocument *dom_document; @@ -1515,7 +1513,6 @@ window_object_cleared_callback(WebKitScriptWorld *world, dom_window = webkit_dom_document_get_default_view(dom_document); if (dom_window) { - printf("notifying UI process that page loaded!"); /* Notify the UI process that the page is loaded */ webkit_dom_dom_window_webkit_message_handlers_post_message( dom_window, "GreeterBridge", page_loaded_message @@ -1655,7 +1652,6 @@ autologin_timer_expired_cb(LightDMGreeter *greeter, WebKitWebExtension *extensio G_MODULE_EXPORT void webkit_web_extension_initialize(WebKitWebExtension *extension) { - printf("web extension initialize fired!"); LightDMGreeter *greeter = lightdm_greeter_new(); g_signal_connect(G_OBJECT(greeter),