[seed] Fix the GLib warnings in gtktreeview example
- From: Robert Carr <racarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Fix the GLib warnings in gtktreeview example
- Date: Tue, 28 Apr 2009 16:11:02 -0400 (EDT)
commit 6094f8ebd549d8100d1290ada625a7ac78aa05f6
Author: Robert Carr <racarr svn gnome org>
Date: Tue Apr 28 16:01:18 2009 -0400
Fix the GLib warnings in gtktreeview example
---
examples/gtktreeview.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/gtktreeview.js b/examples/gtktreeview.js
index 849f8fb..566e405 100755
--- a/examples/gtktreeview.js
+++ b/examples/gtktreeview.js
@@ -22,9 +22,9 @@ var iter = new Gtk.TreeIter();
m.append(iter);
m.set_value(iter, 0, [GObject.TYPE_INT, 3]);
m.append(iter);
-m.set_value(iter, 0, 2);
+m.set_value(iter, 0, [GObject.TYPE_INT, 2]);
m.append(iter);
-m.set_value(iter, 0, 9);
+m.set_value(iter, 0, [GObject.TYPE_INT, 9]);
//TODO: FIXME: Why does property not work here?
v.set_model(m);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]