Problem with Gtk.SpinButton.new_with_range

Thiago Bellini Ribeiro <[email protected]>
Newsgroups gmane.comp.gnome.shell,gmane.comp.gnome.love
Message-ID <CAKhO_r4QzBXse1JEsKXwryYek2NRs_1dko75cWLQ18k0qh-oWw@mail.gmail.com>
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
_______________________________________________
gnome-shell-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-shell-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.