summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/test_elm_win-native.rb2
-rw-r--r--test/tests/test_actionslider.rb6
-rw-r--r--test/tests/test_bg.rb4
-rw-r--r--test/tests/test_buttons.rb2
4 files changed, 7 insertions, 7 deletions
diff --git a/test/test_elm_win-native.rb b/test/test_elm_win-native.rb
index 099e26a..318c3cd 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_object_text_part_set lb, nil, "Hello World"
+elm_object_part_text_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/tests/test_actionslider.rb b/test/tests/test_actionslider.rb
index 9305f38..a04f380 100644
--- a/test/tests/test_actionslider.rb
+++ b/test/tests/test_actionslider.rb
@@ -28,9 +28,9 @@ module Tests
as = Elm::ElmActionSlider.new self do |as|
as.size_hint_weight_set Evas::EVAS_HINT_EXPAND, 0
as.size_hint_align_set Evas::EVAS_HINT_FILL, 0
- as.text_part = "left", "Snooze"
- as.text_part = "center", nil
- as.text_part = "right", "Stop"
+ as.part_text = "left", "Snooze"
+ as.part_text = "center", nil
+ as.part_text = "right", "Stop"
as.indicator_pos = :elm_actionslider_right
as.magnet_pos = :elm_actionslider_right
as.enabled_pos = as_pos[:elm_actionslider_left]|as_pos[:elm_actionslider_right]
diff --git a/test/tests/test_bg.rb b/test/tests/test_bg.rb
index 363f7db..2739bdf 100644
--- a/test/tests/test_bg.rb
+++ b/test/tests/test_bg.rb
@@ -116,9 +116,9 @@ module Tests
if Elm::ElmCheck.new(evas_obj).state
over = @o_bg.parent_widget.evas.edje_object_add
over.file = "#{PACKAGE_DATA_DIR}/objects/test.edj", "bg_overlay"
- @o_bg.overlay = over
+ @o_bg.content = over
else
- @o_bg.overlay = FFI::Pointer::NULL
+ @o_bg.content = FFI::Pointer::NULL
end
end
def cb_color_changed data, evas_obj, event_info
diff --git a/test/tests/test_buttons.rb b/test/tests/test_buttons.rb
index 9007506..c0e2bb1 100644
--- a/test/tests/test_buttons.rb
+++ b/test/tests/test_buttons.rb
@@ -27,7 +27,7 @@ module Tests
end
bt = Efl::Elm::ElmButton.new self
bt.text = txt unless txt.nil?
- bt.icon = ico if ico
+ bt.content = ico if ico
bt.smart_callback_add "clicked", method(:bt_clicked_cb)
bt.smart_callback_add "unpressed", method(:bt_unpressed_cb)
@bx.pack_end bt