From 89bafd44d12c4b5ca803f5c3e894e879681a27a8 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Sat, 18 Feb 2012 14:11:20 +0100 Subject: [PATCH] also rescue Gtk::InitError for booh-backend --- bin/booh-backend | 0 lib/booh/booh-lib.rb | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 bin/booh-backend diff --git a/bin/booh-backend b/bin/booh-backend old mode 100755 new mode 100644 diff --git a/lib/booh/booh-lib.rb b/lib/booh/booh-lib.rb index de7fafc..c319475 100644 --- a/lib/booh/booh-lib.rb +++ b/lib/booh/booh-lib.rb @@ -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 -- 2.21.3