From f2f954240ac99484c09eca06a35aba2c1c063357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 22 Aug 2011 11:29:51 +0200 Subject: elementary: rename ElmObject#content_* into #obj_content_* --- lib/efl/elementary.rb | 37 +++++-------------------------------- 1 file changed, 5 insertions(+), 32 deletions(-) diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb index 4eb708b..8491613 100644 --- a/lib/efl/elementary.rb +++ b/lib/efl/elementary.rb @@ -72,17 +72,17 @@ module Efl end alias :text :text_get # - def content_set content + def obj_content_set content Native.elm_object_content_part_set @ptr, nil, content end - alias :content= :content_set + alias :obj_content= :obj_content_set # - def content_get + def obj_content_get Native.elm_object_content_part_get @ptr, nil end - alias :content :content_get + alias :obj_content :obj_content_get # - def content_unset + def obj_content_unset Native.elm_object_content_part_unset @ptr, nil end # @@ -455,19 +455,6 @@ module Efl super Native.method(:elm_win_inwin_add), parent, &block end # - def content_set content - Native.elm_win_inwin_content_set @ptr, content - end - alias :content= :content_set - # - def content_get - Native.elm_win_inwin_content_get @ptr - end - alias :content :content_get - # - def content_unset - Native.elm_win_inwin_content_unset @ptr - end end # class ElmLabel < ElmObject @@ -565,20 +552,6 @@ module Efl constructor :elm_panel_add search_prefixes 'elm_panel_' # - # - def content_set content - Native.elm_panel_content_set @ptr, content - end - alias :content= :content_set - # - def content_get - Native.elm_panel_content_get @ptr - end - alias :content :content_get - # - def content_unset - Native.elm_panel_content_unset @ptr - end end # class ElmPanes < ElmObject -- cgit v1.1-2-g2b99