[gjs/globals2: 3/4] global: Fix outdated argument name



commit 6d71041a98d68279fd239f776895b1d7d11fc199
Author: Evan Welsh <noreply evanwelsh com>
Date:   Sat May 23 15:17:17 2020 -0700

    global: Fix outdated argument name

 gjs/global.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gjs/global.h b/gjs/global.h
index b4b29e03..649ee3dc 100644
--- a/gjs/global.h
+++ b/gjs/global.h
@@ -60,7 +60,7 @@ JSObject *gjs_create_global_object(JSContext *cx);
 
 GJS_JSAPI_RETURN_CONVENTION
 bool gjs_define_global_properties(JSContext* cx, JS::HandleObject global,
-                                  const char* compartment_name,
+                                  const char* realm_name,
                                   const char* bootstrap_script);
 
 void gjs_set_global_slot(JSContext    *context,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]