Sha256: a7ecb9c63a1091d58949cc07306f34d74f7f4613cf7a6f15fa747410fb0d0407

Contents?: true

Size: 326 Bytes

Versions: 2

Compression:

Stored size: 326 Bytes

Contents

require 'gir_ffi-gtk/menu'

module Gtk
  setup_method "init"

  def self.init_with_auto_argv
    remaining = init_without_auto_argv([$0, *ARGV]).to_a
    remaining.shift
    ARGV.replace remaining
  end
  class << self
    alias init_without_auto_argv init
    alias init init_with_auto_argv
  end
end

Gtk.class_eval do
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gir_ffi-gtk-0.7.0 lib/gir_ffi-gtk/base.rb
gir_ffi-gtk-0.6.0 lib/gir_ffi-gtk/base.rb