X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=XObjectBase%2FGtkListStore.js;h=382ba196b998741b2b5295bcfa1848e6a8eec1ce;hb=3a1d6f2dcc9b4b4d75f50411ff8b784247979a85;hp=f73265bed49c6dcc3ee33ce359962e2069ef320b;hpb=a2cf805b21ee07e67593b9bcf8802671c142eff2;p=app.Builder.js diff --git a/XObjectBase/GtkListStore.js b/XObjectBase/GtkListStore.js index f73265bed..382ba196b 100644 --- a/XObjectBase/GtkListStore.js +++ b/XObjectBase/GtkListStore.js @@ -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);