cedlemo / ruby-gtk3-tutorial

Gtk3 tutorial for ruby based on the official C version
106 stars 7 forks source link

Bug in exampleapp4? #1

Open Beagle123 opened 8 years ago

Beagle123 commented 8 years ago

Hi seldemo:

I'm reading your tutorial, and trying to understand all this stuff. When I tried running the examples, the first several worked, but then I got this on exampleapp4.rb:

eric@eric-18-5010la:~/vrp/cedlimo/samples$ ruby exampleapp4.rb /home/eric/.rvm/gems/ruby-2.3.0/gems/gobject-introspection-3.0.8/lib/gobject-introspection/loader.rb: line 551 Gtk-DEBUG **:Connecting to session manager exampleapp4.rb:66:in block in initialize': undefined methodset_accels_for_action' for # Did you mean? set_trace_func from /home/eric/.rvm/gems/ruby-2.3.0/gems/gobject-introspection-3.0.8/lib/gobject-introspection/loader.rb:551:in invoke' from /home/eric/.rvm/gems/ruby-2.3.0/gems/gobject-introspection-3.0.8/lib/gobject-introspection/loader.rb:551:inblock in define_method' from exampleapp4.rb:103:in `

' eric@eric-18-5010la:~/vrp/cedlimo/samples$

cedlemo commented 8 years ago

Hi Beagle123,

This tutorial has been merged in the Ruby-GNOME2 project here https://github.com/ruby-gnome2/ruby-gnome2/tree/master/gtk3/sample/tutorial. The version in Ruby-GNOME2 project is more up to date. So you really should try the Ruby-GNOME2 version of the tutorial and create an issue there if the problem remains.

Thanks, I let you close and sorry I should have indicate that this is no the up to date version (or maybe destroy this repo)

cedlemo