[seed] Remove various import_namespace calls that have been hanging around.



commit d3002bd3e9809f25838f1fa1822afa1db70209c1
Author: Tim Horton <hortont svn gnome org>
Date:   Mon Jun 29 03:25:57 2009 -0400

    Remove various import_namespace calls that have been hanging around.

 extensions/Seed.js.in |    6 +++---
 tools/run-lint.js     |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/extensions/Seed.js.in b/extensions/Seed.js.in
index afbd371..fce2bb5 100644
--- a/extensions/Seed.js.in
+++ b/extensions/Seed.js.in
@@ -132,7 +132,7 @@ Seed.repl = function()
 	{
 		try
 		{
-			Seed.import_namespace("readline");
+			readline = imports.readline;
 		}
 		catch (e)
 		{
@@ -158,12 +158,12 @@ Seed.repl = function()
 
 Seed.glib_repl = function()
 {
-	GLib.idle_add(Seed.repl, null);
+	imports.gi.GLib.idle_add(Seed.repl, null);
 }
 
 Seed.thread_repl = function()
 {
-	GLib.thread_create_full(function() { while(Seed.repl()){} },
+	imports.gi.GLib.thread_create_full(function() { while(Seed.repl()){} },
 							null, 0, true);
 }
 
diff --git a/tools/run-lint.js b/tools/run-lint.js
index 43b4b20..89e6d8f 100755
--- a/tools/run-lint.js
+++ b/tools/run-lint.js
@@ -1,6 +1,6 @@
 #!/usr/bin/env seed
 
-Seed.import_namespace("Gio");
+Gio = imports.gi.Gio;
 
 Seed.include("jslint.js");
 



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