also rescue Gtk::InitError for booh-backend
authorGuillaume Cottenceau <gcottenc@gmail.com>
Sat, 18 Feb 2012 13:11:20 +0000 (14:11 +0100)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Sat, 18 Feb 2012 13:11:20 +0000 (14:11 +0100)
bin/booh-backend [changed mode: 0755->0644]
lib/booh/booh-lib.rb

old mode 100755 (executable)
new mode 100644 (file)
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