summaryrefslogtreecommitdiffstats
path: root/lib/efl/elementary.rb
diff options
context:
space:
mode:
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 d11542f..2b0cd22 100644
--- a/lib/efl/elementary.rb
+++ b/lib/efl/elementary.rb
@@ -4,7 +4,7 @@
require 'efl/evas'
require 'efl/native/elementary'
#
-Efl::Evas::REvasObject.proxy_list << [Efl::Native,'elm_'].freeze # append not prepend !
+Efl::Evas::REvasObject.search_prefixes << 'elm_' # append not prepend !
#
module Efl
module Elm
@@ -23,7 +23,7 @@ module Efl
#
class ElmWin
include Efl::ClassHelper
- proxy_list [Efl::Native,'elm_win_'].freeze, [Efl::Native,'elm_'].freeze
+ search_prefixes 'elm_win_', 'elm_'
def initialize parent, title, type=:elm_win_basic
@evas_object = Evas::REvasObject.new Native.elm_win_add parent, title, type
@ptr = @evas_object.to_ptr