[gnome-shell] shell-global: remove shell_global_gc()
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] shell-global: remove shell_global_gc()
- Date: Fri, 13 Jul 2012 00:16:34 +0000 (UTC)
commit 85bc8ccccc0be6293d5f36f0873ac96b4781240b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Jul 12 20:01:21 2012 -0400
shell-global: remove shell_global_gc()
It's unused now.
https://bugzilla.gnome.org/show_bug.cgi?id=679832
src/shell-global.c | 15 ---------------
src/shell-global.h | 4 ----
2 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/src/shell-global.c b/src/shell-global.c
index f467e34..bb32a01 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 1c25c04..b731838 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]