From d0b20b515e55dad3328191984bce5c898193446d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 1 May 2011 20:49:54 +0200 Subject: fix REvasObject#(geometry|color)_get --- lib/efl/evas.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb index 3713e6b..3ecdf29 100644 --- a/lib/efl/evas.rb +++ b/lib/efl/evas.rb @@ -132,7 +132,7 @@ module Efl y = FFI::MemoryPointer.new :int w = FFI::MemoryPointer.new :int h = FFI::MemoryPointer.new :int - Efl::Evas.evas_object_geometry_get @evas, x, y, w, h + Efl::Evas.evas_object_geometry_get @ptr, x, y, w, h [ x.read_int, y.read_int, w.read_int, h.read_int ] end def color_get @@ -140,7 +140,7 @@ module Efl g = FFI::MemoryPointer.new :int b = FFI::MemoryPointer.new :int a = FFI::MemoryPointer.new :int - Efl::Evas.evas_object_color_get @evas, r, g, b, a + Efl::Evas.evas_object_color_get @ptr, r, g, b, a [ r.read_int, g.read_int, b.read_int, a.read_int ] end end -- cgit v1.1-2-g2b99