After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671091 - Image viewer example in JS uses wrong parameters in gtk.init
Image viewer example in JS uses wrong parameters in gtk.init
Status: RESOLVED FIXED
Product: gnome-devel-docs
Classification: Applications
Component: gdp-handbook
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Maintainers of Gnome user documentation
gnome-devel-docs maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-29 22:19 UTC by javiermon
Modified: 2012-02-29 23:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description javiermon 2012-02-29 22:19:19 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);
Comment 1 Tiffany Antopolski 2012-02-29 23:39:04 UTC
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/