Just encountered the same problem.

I think this bug is solved with 0.19.3-1. I've tested Johans sample code
and this code of mine:

---
require 'gtk2'
require 'monitor'


# Create UI
button = Gtk::Button.new("Hello World")
window = Gtk::Window.new

window.signal_connect("destroy") {
  Gtk.main_quit
}

# Lay out UI
window.border_width = 10
window.add(button)
window.show_all

Thread.new {
  sleep(5)
  puts "yupp"
}

Gtk.main
---

With 0.19.1 any background thread blocks the Gtk main thread. With 0.19.3
this works just fine.

AFAIK this problem was already solved in 0.19.2. The changelog even refers
to this Debian bug. See:

http://ruby-gnome2.sourceforge.jp/hiki.cgi?News_20090924_1#Ruby%2FGLib2

So please consider closing this bug.

Tobias

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to