Hey all,
A few days ago I gave Ruby-GNOME2 a try and ran into the “visible?”
issue
as well, but as of now, it seems to be working when running my
application
and this test:
dewd@rubynho:~/t_/test_downloads/ruby-gnome2/ruby-gnome2/trunk/gtk/sample/misc$
/opt/ruby-1.9.1/bin/ruby button.rb
Which was “crashing” for me I think. It does have a call to “visible?”
in it:
[…]
0.upto(8) do |i|
button[i].signal_connect(“clicked”) do |w|
p [i]
j = (i + 1) % 9
if button[j].visible?
[…]
My Ruby 1.9 version:
ruby 1.9.0 (2008-05-22 revision 16533) [i686-linux]
My SVN checkout:
dewd@rubynho:~/3p_repos/ruby$ svn log --limit 1
r16533 | nobu | 2008-05-22 08:20:56 -0300 (Qui, 22 Mai 2008) | 3 lines
- marshal.c (check_dump_arg, check_load_arg): check if reentered.
[ruby-dev:34802]
I hope it works for other folks as well!
Cheers,
Joao