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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_elm_win.rb b/test/test_elm_win.rb
index be735b8..d872fa8 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.label = "Hello World!"
+ lb.text_set "Hello World!"
lb.size_hint_align_fill
lb.size_hint_weight_expand
end