shell-global: remove shell_global_gc()

It's unused now.

https://bugzilla.gnome.org/show_bug.cgi?id=679832
This commit is contained in:
Cosimo Cecchi 2012-07-12 20:01:21 -04:00
parent e756c2dbce
commit 85bc8ccccc
2 changed files with 0 additions and 19 deletions

View File

@ -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)

View File

@ -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;