From 3360c669df027835ca8a06e69574478a4faa8d51 Mon Sep 17 00:00:00 2001
From: Lars Kanis <kanis@comcard.de>
Date: Fri, 14 Mar 2014 13:31:02 +0100
Subject: [PATCH] width is a integer value, this is enforced by swig-2.0

---
 examples/shutter.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/shutter.rb b/examples/shutter.rb
index 136f93e..7655500 100755
--- a/examples/shutter.rb
+++ b/examples/shutter.rb
@@ -139,7 +139,7 @@ class ShutterWindow < FXMainWindow
 
   def create
     super
-    @shutter.width = 1.25*@shutter.width
+    @shutter.width = (1.25*@shutter.width).to_i
     show(PLACEMENT_SCREEN)
   end
 end
-- 
GitLab