Feedback on gnome-devel-demos/3.14/dialog.js.page
- From: Jose Carlos Gonzalez <jocagovi gmail com>
- To: docs-feedback gnome org
- Subject: Feedback on gnome-devel-demos/3.14/dialog.js.page
- Date: Wed, 17 Dec 2014 21:30:25 -0800
Hello,
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
Jose G.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]