summaryrefslogtreecommitdiffstats
path: root/lib/efl/elementary.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-01 08:22:00 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-01 08:22:00 +0200
commit51a6645abd257b37f3248ccf26b1007a7ac88208 (patch)
tree9e90ced4ab2b83af091ca5078d44cabbb7a43050 /lib/efl/elementary.rb
parent314715fd3a8421571ffe77d1a497978011b976fb (diff)
downloadffi-efl-51a6645abd257b37f3248ccf26b1007a7ac88208.zip
ffi-efl-51a6645abd257b37f3248ccf26b1007a7ac88208.tar.gz
cleanup method_missing and [module,prefix] proxies usage and definition
Diffstat (limited to 'lib/efl/elementary.rb')
-rw-r--r--lib/efl/elementary.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb
index 96a3d2d..0844587 100644
--- a/lib/efl/elementary.rb
+++ b/lib/efl/elementary.rb
@@ -15,7 +15,7 @@ end
#
require 'efl/ffi/elementary'
#
-Efl::Evas::REvasObject.search_paths << [Efl::Elm,'elm_'].freeze
+Efl::Evas::REvasObject.proxy_list << [Efl::Elm,'elm_'].freeze # append not prepend !
#
module Efl
module Elm
@@ -34,7 +34,7 @@ module Efl
#
class ElmWin
include Efl::ClassHelper
- @search_paths = [ [Efl::Elm,'elm_win_'].freeze, [Efl::Elm,'elm_'].freeze ]
+ proxy_list [Efl::Elm,'elm_win_'].freeze, [Efl::Elm,'elm_'].freeze
def initialize parent, title, type=:elm_win_basic
@evas_object = Efl::Evas::REvasObject.new Efl::Elm.elm_win_add parent, title, type
@ptr = @evas_object.to_ptr