Sha256: 4825f411de5d0a0511f9bd9f23b171838f06a333f5867c56a5c490d973dda8f5

Contents?: true

Size: 321 Bytes

Versions: 225

Compression:

Stored size: 321 Bytes

Contents

require 'tempfile'

module GtkTestUtils
  private
  def only_gtk_version(major, minor, micro=nil)
    micro ||= 0
    unless Gtk.check_version?(major, minor, micro)
      omit("Require GTK+ >= #{major}.#{minor}.#{micro}")
    end
  end

  def only_x11
    omit("Only for X11 backend") unless Gdk.windowing_x11?
  end
end

Version data entries

225 entries across 225 versions & 2 rubygems

Version Path
gtk2-0.90.2 test/gtk-test-utils.rb
gtk2-0.90.2-x86-mingw32 test/gtk-test-utils.rb
gtk2-0.20.1 test/gtk-test-utils.rb
gtk2-0.20.0.1 test/gtk-test-utils.rb
gtk2-0.20.0 test/gtk-test-utils.rb