shell-global: Add shell_global_maybe_gc

Add a method to call JS_MaybeGC, see
https://developer.mozilla.org/en/SpiderMonkey/JSAPI_Reference/JS_MaybeGC

https://bugzilla.gnome.org/show_bug.cgi?id=614725
This commit is contained in:
Adel Gadllah
2010-04-03 12:48:18 +02:00
parent 9455554453
commit 9fca747ef4
2 changed files with 18 additions and 0 deletions

View File

@ -74,6 +74,8 @@ void shell_global_breakpoint (ShellGlobal *global);
void shell_global_gc (ShellGlobal *global);
void shell_global_maybe_gc (ShellGlobal *global);
void shell_global_format_time_relative_pretty (ShellGlobal *global, guint delta, char **text, guint *update_time);
ClutterActor *shell_global_create_root_pixmap_actor (ShellGlobal *global);