Hi Jose On 2014-12-17 21:30, Jose Carlos Gonzalez <jocagovi gmail com> wrote:
I was using the sample code and I got the following error (gjs:10575): Gjs-WARNING **: JS ERROR: TypeError: Gtk.Button.new_from_stock is not a constructor DialogExample< _createDialog /dialog.js:68 wrapper resource:///org/gnome/gjs/modules/lang.js:169 @./dialog.js:87 the offending line this._OKButton = new Gtk.Button.new_from_stock (Gtk.STOCK_OK); should not have the "new" keyword
Thanks for the feedback! I fixed the example code and pushed a patch to master:
https://git.gnome.org/browse/gnome-devel-docs/commit/?id=167b4ed6880ca3dc5c09f6180298acac63453c5a Please let us know if you find any more problems. -- http://amigadave.com/
Attachment:
signature.asc
Description: Digital signature