XObjectBase/GtkListStore.js
[app.Builder.js] / XObjectBase / GtkListStore.js
index 81e3de4..6833e1e 100644 (file)
@@ -58,7 +58,7 @@ GtkListStore = XObject.define(
         {
             var tpath = path;
             if (typeof(path) == 'string' ) {
-                tpath = new Gtk.TreePath.c_new(string);
+                tpath = new Gtk.TreePath.from_string(string);
             }
             var iter = new Gtk.TreeIter();
             this.el.get_iter (iter, tpath) ;