lib/rabbit/theme/applier.rb in rabbit-2.1.6 vs lib/rabbit/theme/applier.rb in rabbit-2.1.7
- old
+ new
@@ -595,10 +595,10 @@
@callback.call if @callback
super
end
def connect_key(keyval, modifier=nil, flags=nil, &block)
- modifier ||= Gdk::Window::ModifierType.new
+ modifier ||= Gdk::ModifierType.new
flags ||= Gtk::AccelFlags::VISIBLE
canvas.connect_key(keyval, modifier, flags, &block)
end
def disconnect_key(keyval, modifier=nil)