summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_box.rb
diff options
context:
space:
mode:
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