GNOME Bugzilla – Bug 671091
Image viewer example in JS uses wrong parameters in gtk.init
Last modified: 2012-02-29 23:39:04 UTC
The example image-viewer in JS in: http://developer.gnome.org/gnome-devel-demos/3.2/image-viewer.py.html http://developer.gnome.org/gnome-devel-demos/3.2/image-viewer/image-viewer.js Uses Gtk.init (0, null); which rises an exception: Error: Expected type utf8 for Argument 'argv' but got type 'number' (nil) It should instead use Gtk.init (null, null);
Assuming you meant the first link to be to the js tutorial, not the python tutorial. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. http://git.gnome.org/browse/gnome-devel-docs/commit/