also rescue Gtk::InitError for booh-backend
[booh] / lib / booh / booh-lib.rb
index de7fafc..c319475 100644 (file)
@@ -32,7 +32,7 @@ require 'booh/config.rb'
 require 'booh/version.rb'
 begin
     require 'gtk2'
-rescue LoadError
+rescue LoadError, Gtk::InitError
     $no_gtk2 = true
 end
 begin