summaryrefslogtreecommitdiffstats
path: root/lib/efl/evas.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/evas.rb')
-rw-r--r--lib/efl/evas.rb4
1 files 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