summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_box.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-28 16:09:49 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-28 16:09:49 +0100
commitf5be08ea606ad373f3bab8e5a0f258b82a9cf11f (patch)
treea5dee985149c7cdeb799958f99de8a1450d3b92b /lib/efl/elm/elm_box.rb
parent142e64c3cefcd11667adefdc61989536f6a34bd4 (diff)
downloadffi-efl-f5be08ea606ad373f3bab8e5a0f258b82a9cf11f.zip
ffi-efl-f5be08ea606ad373f3bab8e5a0f258b82a9cf11f.tar.gz
lib/efl/elm/elm_*.rb: Native::->Native.
Diffstat (limited to 'lib/efl/elm/elm_box.rb')
-rw-r--r--lib/efl/elm/elm_box.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/efl/elm/elm_box.rb b/lib/efl/elm/elm_box.rb
index b0539a2..c12a560 100644
--- a/lib/efl/elm/elm_box.rb
+++ b/lib/efl/elm/elm_box.rb
@@ -17,7 +17,7 @@ module Efl
def padding_get
x = FFI::MemoryPointer.new :int
y = FFI::MemoryPointer.new :int
- Native::elm_box_padding_get @ptr, x, y
+ Native.elm_box_padding_get @ptr, x, y
[ x.read_int, y.read_int ]
end
alias :padding :padding_get
@@ -25,7 +25,7 @@ module Efl
def align_get
x = FFI::MemoryPointer.new :float
y = FFI::MemoryPointer.new :float
- Native::elm_box_align_get @ptr, x, y
+ Native.elm_box_align_get @ptr, x, y
[ x.read_float, y.read_float ]
end
alias :align :padding_get