diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-08-18 12:14:43 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-08-18 12:14:43 +0200 |
commit | 6ca43be0b836a82864fdcb2509c3e999a8453f34 (patch) | |
tree | 3ac6cf4878ce7d94f2728f1394b8bb4640fc0e40 /test | |
parent | 68306c1ef2f35082a73825a4d38ce0ed347098f5 (diff) | |
download | ffi-efl-6ca43be0b836a82864fdcb2509c3e999a8453f34.zip ffi-efl-6ca43be0b836a82864fdcb2509c3e999a8453f34.tar.gz |
fix test_elm_win-native.rb and test_elm_win.rb
Diffstat (limited to 'test')
-rw-r--r-- | test/test_elm_win-native.rb | 2 | ||||
-rw-r--r-- | 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 |