XObjectBase/GtkListStore.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 2 Dec 2010 11:02:00 +0000 (19:02 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 2 Dec 2010 11:02:00 +0000 (19:02 +0800)
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) ;