From 63c92bb754942710cbe2c714c9d82e37bb6a060e Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Sat, 29 Oct 2016 19:26:10 -0500 Subject: [PATCH] missed a couple renames --- src/greeter.c | 2 +- src/webkit2-extension.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/greeter.c b/src/greeter.c index 93fff0b..8d02115 100644 --- a/src/greeter.c +++ b/src/greeter.c @@ -203,7 +203,7 @@ load_script(char *script) { static void page_loaded_handler(void) { - load_script("/com/antergos/lightdm-webkit2-greeter/js/auto-binding-object.js"); + load_script("/com/antergos/lightdm-webkit2-greeter/js/ThemeUtils.js"); load_script("/com/antergos/lightdm-webkit2-greeter/js/ThemeHeartbeat.js"); } diff --git a/src/webkit2-extension.c b/src/webkit2-extension.c index b35e8ed..873aebc 100644 --- a/src/webkit2-extension.c +++ b/src/webkit2-extension.c @@ -84,7 +84,7 @@ static JSClassRef lightdm_layout_class, lightdm_session_class, config_file_class, - greeter_util_class; + theme_utils_class; static gboolean SESSION_STARTING = FALSE; @@ -1600,7 +1600,7 @@ window_object_cleared_callback(WebKitScriptWorld *world, lightdm_layout_class = JSClassCreate(&lightdm_layout_definition); lightdm_session_class = JSClassCreate(&lightdm_session_definition); config_file_class = JSClassCreate(&config_file_definition); - greeter_util_class = JSClassCreate(&theme_utils_definition); + theme_utils_class = JSClassCreate(&theme_utils_definition); gettext_object = JSObjectMake(jsContext, gettext_class, NULL); JSObjectSetProperty(jsContext, @@ -1626,7 +1626,7 @@ window_object_cleared_callback(WebKitScriptWorld *world, kJSPropertyAttributeNone, NULL); - theme_utils_object = JSObjectMake(jsContext, greeter_util_class, NULL); + theme_utils_object = JSObjectMake(jsContext, theme_utils_class, NULL); JSObjectSetProperty(jsContext, globalObject, JSStringCreateWithUTF8CString("__ThemeUtils"),