shell-global: remove shell_global_gc()
It's unused now. https://bugzilla.gnome.org/show_bug.cgi?id=679832
This commit is contained in:
parent
e756c2dbce
commit
85bc8ccccc
@ -1191,21 +1191,6 @@ shell_global_reexec_self (ShellGlobal *global)
|
|||||||
g_ptr_array_free (arr, TRUE);
|
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
|
static void
|
||||||
shell_global_on_gc (GjsContext *context,
|
shell_global_on_gc (GjsContext *context,
|
||||||
ShellGlobal *global)
|
ShellGlobal *global)
|
||||||
|
@ -84,10 +84,6 @@ void shell_global_get_pointer (ShellGlobal *global,
|
|||||||
int *y,
|
int *y,
|
||||||
ClutterModifierType *mods);
|
ClutterModifierType *mods);
|
||||||
|
|
||||||
|
|
||||||
/* JavaScript utilities */
|
|
||||||
void shell_global_gc (ShellGlobal *global);
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
guint glibc_uordblks;
|
guint glibc_uordblks;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user