From: Detlef R. <det...@gm...> - 2014-07-21 17:44:25
|
Hi, "classic" gtk3 (non gir) crashes on closing the program, if you have accessed the clipboard. Here is a small example. Start it, click the button, close the window => crash. Cheers, detlef #!/usr/bin/env ruby require 'gtk3' win = Gtk::Window.new win.signal_connect(:delete_event) {Gtk.main_quit} button = Gtk::Button.new :label => 'foobla' win.add button button.signal_connect(:clicked) do clip = button.get_clipboard Gdk::Atom.new(69).class.to_s end win.show_all Gtk.main |