Sha256: fbfaa8110d3744b155e9b869f3d83a2fe10513f58ac35d1317040c5f52535ec8

Contents?: true

Size: 287 Bytes

Versions: 9

Compression:

Stored size: 287 Bytes

Contents

module Gtk
  _setup_method "init"

  def self.init_with_auto_argv
    my_args = init_without_auto_argv [$0, *ARGV]
    my_args.shift
    ARGV.replace my_args
  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

9 entries across 9 versions & 2 rubygems

Version Path
gir_ffi-gtk-0.4.0 lib/gir_ffi-gtk/base.rb
gir_ffi-0.3.2 lib/ffi-gtk/base.rb
gir_ffi-0.3.1 lib/ffi-gtk/base.rb
gir_ffi-0.3.0 lib/ffi-gtk/base.rb
gir_ffi-0.2.3 lib/ffi-gtk/base.rb
gir_ffi-0.2.2 lib/ffi-gtk/base.rb
gir_ffi-0.2.1 lib/ffi-gtk/base.rb
gir_ffi-0.2.0 lib/ffi-gtk/base.rb
gir_ffi-0.1.0 lib/ffi-gtk/base.rb