summaryrefslogtreecommitdiffstats
path: root/test/test_elm_win.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_elm_win.rb')
-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
-