[seed] Gnio example should use new imports system



commit 8cae0b1c47bf3edf47734cda44d1a949af47b946
Author: Robert Carr <racarr svn gnome org>
Date:   Tue Apr 28 15:59:09 2009 -0400

    Gnio example should use new imports system
---
 examples/Gnio.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/Gnio.js b/examples/Gnio.js
index 247ad4f..9da13de 100755
--- a/examples/Gnio.js
+++ b/examples/Gnio.js
@@ -1,6 +1,6 @@
 #!/usr/bin/env seed
-Seed.import_namespace("Gio");
-Seed.import_namespace("Gnio");
+Gio = imports.gi.Gio;
+Gnio = imports.gi.Gnio;
 
 r = new Gnio.Resolver();
 



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