From 1ba383336298faea6562ace82132ba1321203179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 27 Feb 2012 15:41:26 +0100 Subject: elm_layout: elm_layout_edje_get return a REdje object --- lib/efl/elm/elm_layout.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/efl/elm/elm_layout.rb b/lib/efl/elm/elm_layout.rb index a1eb99f..1eaeeef 100644 --- a/lib/efl/elm/elm_layout.rb +++ b/lib/efl/elm/elm_layout.rb @@ -14,6 +14,10 @@ module Efl constructor :elm_layout_add search_prefixes 'elm_layout_' # + def edje_get &block + Efl::Edje::REdje.new Native.method(:elm_layout_edje_get), @ptr, &block + end + alias :edje :edje_get end # end -- cgit v1.1-2-g2b99