Browse Source

missed a couple renames

sisyphus
Dustin Falgout 8 years ago
parent
commit
63c92bb754
  1. 2
      src/greeter.c
  2. 6
      src/webkit2-extension.c

2
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");
}

6
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"),

Loading…
Cancel
Save