XObjectBase/GtkListStore.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 2 Dec 2010 12:18:58 +0000 (20:18 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 2 Dec 2010 12:18:58 +0000 (20:18 +0800)
XObjectBase/GtkListStore.js

index f73265b..382ba19 100644 (file)
@@ -46,16 +46,13 @@ GtkListStore = XObject.define(
             var tpath = path;
             if (typeof(path) == 'string' ) {
                 tpath = new Gtk.TreePath.from_string(path);
-                tpath.constructor = Gtk.TreePath;
+                 
             }
             
             var iter = new Gtk.TreeIter();
-            iter.constructor = Gtk.TreeIter;
-            this.el.get_iter (iter, tpath) ;
-            print( Gtk.TreeIter.type);
-            print( Gtk.TreePath.type);
-            //print(XObject.type(iter));
             
+            this.el.get_iter (iter, tpath) ;
+             
             var gval = new GObject.Value(  [this.el.get_column_type(col), null ]);
             this.el.get_value( iter, col, gval);
             print("GET VALUE RETURNED: " + gval.value);