From: Kouhei S. <ko...@co...> - 2013-06-23 05:22:32
|
Hi, In <c77...@ru...> "[ruby-gnome2-devel-en] Gtk3 scratch, on Windows" on Fri, 21 Jun 2013 19:35:58 +0200, Regis d'Aubarede <rub...@an...> wrote: > Using gtk3 on window, i get a bug (program scratch) > when resizing window (specially on resizing dialog window), with almost > all my Ruiby applications. > > Here a scratch with an old gtk demo : > > ....\gtk3-2.0.2-x86-mingw32\sample\misc>ruby dialog.rb > > dialog.rb:14:in `new': 'Gtk::Button#initialize(label_or_stock_id, > use_underline = nil)' style has been deprecated. Use > > .............many deprecated............ > > ** > GLib:ERROR:gmain.c:3057:g_main_dispatch: assertion failed: > (current->dispatching_sources == ¤t_source_link) > > This application has requested the Runtime > to terminate it in an unusual way. > Please contact the application's > support team for more information. I got a related report. It seems that GTK+ 3 that is bundled in gtk3 gem may be broken. (It is built by me on my Debian GNU/Linux.) The problem may be solved in the next release if I can build GTK+ 3 Windows binary on my Debian GNU/Linux. Could you try old gtk3 gems to find which version works well or doesn't work well? I know all gtk3 gems are broken or gtk3 2.0.2 gem is only broken. You can install and use old gtk3 gem by the following: > gem install gtk3 --version 2.0.1 > type test.rb gem "gtk3", "= 2.0.1" require "gtk3" ... > ruby test.rb You can find all available gems at https://rubygems.org/gems/gtk3/versions "x86-mingw32" platform gems are for Windows. Thanks, -- kou |