display binding version in verbose mode
authorGuillaume Cottenceau <gcottenc@gmail.com>
Tue, 15 Sep 2009 13:20:30 +0000 (15:20 +0200)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Tue, 15 Sep 2009 13:20:30 +0000 (15:20 +0200)
bin/booh

index e761671..5323a3f 100644 (file)
--- a/bin/booh
+++ b/bin/booh
@@ -4879,7 +4879,10 @@ if str = Gtk.check_version(2, 8, 0)
     exit
 end
 
+handle_options
+
 binding_version = Gtk::BINDING_VERSION
+msg 3, "binding version: " + binding_version.join('.')
 if binding_version == [ 0, 15, 0 ]
     puts "It seems that we're running ruby-gtk2 0.15.0; this version is known to crash; please upgrade or downgrade."
     exit
@@ -4898,7 +4901,6 @@ if binding_version[0] <= 0 && binding_version[1] <= 16 && ruby_version[0] >= 1 &
     exit
 end
 
-handle_options
 Thread.abort_on_exception = true
 read_config