lib/rabbit/keys.rb in rabbit-2.1.4 vs lib/rabbit/keys.rb in rabbit-2.1.5

- old
+ new

@@ -1,14 +1,6 @@ -require "gtk2" +require "rabbit/gtk" require "rabbit/utils" - -# For GTK+ < 2.22 -unless Gdk::Keyval.const_defined?(:GDK_KEY_Escape) - Gdk::Keyval.constants.each do |name| - Gdk::Keyval.const_set(name.to_s.sub(/\AGDK_/, "GDK_KEY_"), - Gdk::Keyval.const_get(name)) - end -end module Rabbit module Keys QUIT_KEYS = [