[gnome-love] Problem with Gtk.SpinButton.new_with_range



Hi!

2 people send me error reports about this problem [1] when opening the
preferences dialog of my extension [2] on 3.8. One of them said he is
using Arch Linux with the latest updates.

The error says new_with_range is not a constructor.. But I'm confused.
That code worked fine (with totally no errors) from 3.4 to 3.6. Also,
when I was testing the extension on a virtual machine with a daily
build of fedora (to test 3.8), the preferences window worked (so, that
problem didn't exist there).

Also, I took a look at the 3.8's GtkSpinButton [3] documentation and
new_with_range is still a constructor.

So, my question is: What is happening there? Does the js binding
changed? Should I change the syntax I'm using
(Gtk.SpinButton.new_with_range)? And why did the problem happened for
those guys and not for me (on my tests) and other people (I suppose I
would have received many more error reports if that was affecting
everyone)?

[1] http://pastebin.com/hn6BNa4C
[2] https://extensions.gnome.org/extension/258/notifications-alert-on-user-menu/
[3] https://developer.gnome.org/gtk3/stable/GtkSpinButton.html#gtk-spin-button-new-with-range

Thanks in advance,

--
Thiago Bellini Ribeiro | http://hackedbellini.org

“Real knowledge is to know the extent of one's ignorance.” - Confucius


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]