[gnome-shell] run-js-test: fix



commit 885e194c2552da0ba5769b1bdbb2550bb7138959
Author: Dan Winship <danw gnome org>
Date:   Fri Sep 2 12:53:36 2011 -0400

    run-js-test: fix
    
    Needs to explicitly initialize the ShellGlobal now
    
    https://bugzilla.gnome.org/show_bug.cgi?id=649631

 src/run-js-test.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/run-js-test.c b/src/run-js-test.c
index c89d26f..04e9d7f 100644
--- a/src/run-js-test.c
+++ b/src/run-js-test.c
@@ -97,6 +97,7 @@ main(int argc, char **argv)
   setlocale (LC_ALL, "");
   g_type_init ();
 
+  _shell_global_init (NULL);
   global = shell_global_get ();
   js_context = _shell_global_get_gjs_context (global);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]