Sha256: e9cc8be3b78ed3dbdd69341973e84fb0ee5f21bf04fa871b6f2542871f398d95

Contents?: true

Size: 265 Bytes

Versions: 6

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

module GirFFIGtk
  # Overrides for GtkAction
  module ActionOverrides
    def create_icon(icon_size)
      super Gtk::IconSize.to_int(icon_size)
    end
  end
end

Gtk.load_class :Action
Gtk::Action.prepend GirFFIGtk::ActionOverrides

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gir_ffi-gtk-0.16.0 lib/gir_ffi-gtk/action.rb
gir_ffi-gtk-0.15.1 lib/gir_ffi-gtk/action.rb
gir_ffi-gtk-0.15.0 lib/gir_ffi-gtk/action.rb
gir_ffi-gtk-0.14.1 lib/gir_ffi-gtk/action.rb
gir_ffi-gtk-0.14.0 lib/gir_ffi-gtk/action.rb
gir_ffi-gtk-0.13.1 lib/gir_ffi-gtk/action.rb