diff --git a/src/shell-global.c b/src/shell-global.c index f467e3484..bb32a01c0 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -1191,21 +1191,6 @@ shell_global_reexec_self (ShellGlobal *global) g_ptr_array_free (arr, TRUE); } -/** - * shell_global_gc: - * @global: A #ShellGlobal - * - * Start a garbage collection process. For more information, see - * https://developer.mozilla.org/En/JS_GC - */ -void -shell_global_gc (ShellGlobal *global) -{ - JSContext *context = gjs_context_get_native_context (global->js_context); - - JS_GC (context); -} - static void shell_global_on_gc (GjsContext *context, ShellGlobal *global) diff --git a/src/shell-global.h b/src/shell-global.h index 1c25c0453..b73183825 100644 --- a/src/shell-global.h +++ b/src/shell-global.h @@ -84,10 +84,6 @@ void shell_global_get_pointer (ShellGlobal *global, int *y, ClutterModifierType *mods); - -/* JavaScript utilities */ -void shell_global_gc (ShellGlobal *global); - typedef struct { guint glibc_uordblks;