From 796e15aa85797699fb1b021ff66d28f850a3462a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 14 Mar 2012 22:45:32 +0100 Subject: REvasObject#center_set: convert move() arguments to int --- lib/efl/evas.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb index e65a710..fbf5283 100644 --- a/lib/efl/evas.rb +++ b/lib/efl/evas.rb @@ -188,7 +188,7 @@ module Efl alias :center :center_get def center_set x, y g = geometry_get - move x-(g[2]/2.0), y-(g[3]/2.0) + move (x-(g[2]/2.0)).to_i, (y-(g[3]/2.0)).to_i end alias :center= :center_set def size -- cgit v1.1-2-g2b99