From 6ca43be0b836a82864fdcb2509c3e999a8453f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 18 Aug 2011 12:14:43 +0200 Subject: fix test_elm_win-native.rb and test_elm_win.rb --- test/test_elm_win-native.rb | 2 +- test/test_elm_win.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_elm_win-native.rb b/test/test_elm_win-native.rb index 22e7a8a..099e26a 100644 --- a/test/test_elm_win-native.rb +++ b/test/test_elm_win-native.rb @@ -22,7 +22,7 @@ elm_win_resize_object_add win, bg evas_object_show bg # lb = elm_label_add win -elm_label_label_set lb, "Hello World!" +elm_object_text_part_set lb, nil, "Hello World" evas_object_size_hint_weight_set lb, 1.0, 1.0 elm_win_resize_object_add win, lb evas_object_show lb 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 -- cgit v1.1-2-g2b99