summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-18 12:20:40 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-18 12:20:40 +0200
commita3745c76aad58dc830d89098fa43026935f12e73 (patch)
tree3bd8ee33d87a34a2391d330fdf8a3382016d0051
parent6c68b39127f72b90817097cfb002aa160d1b3407 (diff)
downloadffi-efl-a3745c76aad58dc830d89098fa43026935f12e73.zip
ffi-efl-a3745c76aad58dc830d89098fa43026935f12e73.tar.gz
test/test_elm_win.r uses new ElmObject#text= alias
-rw-r--r--test/test_elm_win.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_elm_win.rb b/test/test_elm_win.rb
index d872fa8..b9abcf2 100644
--- a/test/test_elm_win.rb
+++ b/test/test_elm_win.rb
@@ -22,7 +22,7 @@ class MyWin < Elm::ElmWin
end
resize_object_add @bg
@lb = Elm::ElmLabel.new(self) do |lb|
- lb.text_set "Hello World!"
+ lb.text = "Hello World!"
lb.size_hint_align_fill
lb.size_hint_weight_expand
end
@@ -48,4 +48,3 @@ Elm.run
Elm.shutdown
#
# EOF
-