summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/elementary/src/bin')
-rw-r--r--legacy/elementary/src/bin/config.c4
-rw-r--r--legacy/elementary/src/bin/test_anchorblock.c2
-rw-r--r--legacy/elementary/src/bin/test_button.c2
-rw-r--r--legacy/elementary/src/bin/test_ctxpopup.c2
-rw-r--r--legacy/elementary/src/bin/test_factory.c2
-rw-r--r--legacy/elementary/src/bin/test_focus.c4
-rw-r--r--legacy/elementary/src/bin/test_launcher.c6
-rw-r--r--legacy/elementary/src/bin/test_photo.c2
-rw-r--r--legacy/elementary/src/bin/test_progressbar.c4
-rw-r--r--legacy/elementary/src/bin/test_radio.c8
-rw-r--r--legacy/elementary/src/bin/test_scroller.c9
-rw-r--r--legacy/elementary/src/bin/test_slider.c12
-rw-r--r--legacy/elementary/src/bin/test_thumb.c2
-rw-r--r--legacy/elementary/src/bin/test_win_inline.c2
14 files changed, 30 insertions, 31 deletions
diff --git a/legacy/elementary/src/bin/config.c b/legacy/elementary/src/bin/config.c
index 4e662eae4c..35f38f49e4 100644
--- a/legacy/elementary/src/bin/config.c
+++ b/legacy/elementary/src/bin/config.c
@@ -1453,7 +1453,7 @@ _status_config_themes(Evas_Object *win,
1453 evas_object_show(sc); 1453 evas_object_show(sc);
1454 1454
1455 sample = _sample_theme_new(win); 1455 sample = _sample_theme_new(win);
1456 elm_scroller_content_set(sc, sample); 1456 elm_object_content_set(sc, sample);
1457 evas_object_show(sample); 1457 evas_object_show(sample);
1458 evas_object_data_set(win, "theme_preview", sample); 1458 evas_object_data_set(win, "theme_preview", sample);
1459 1459
@@ -2443,7 +2443,7 @@ _status_config_scrolling(Evas_Object *win,
2443 evas_object_size_hint_align_set(sc, EVAS_HINT_FILL, EVAS_HINT_FILL); 2443 evas_object_size_hint_align_set(sc, EVAS_HINT_FILL, EVAS_HINT_FILL);
2444 elm_scroller_bounce_set(sc, EINA_FALSE, EINA_TRUE); 2444 elm_scroller_bounce_set(sc, EINA_FALSE, EINA_TRUE);
2445 evas_object_show(sc); 2445 evas_object_show(sc);
2446 elm_scroller_content_set(sc, bx); 2446 elm_object_content_set(sc, bx);
2447 2447
2448 ck = elm_check_add(win); 2448 ck = elm_check_add(win);
2449 elm_object_tooltip_text_set(ck, "Set whether scrollers should bounce<br>" 2449 elm_object_tooltip_text_set(ck, "Set whether scrollers should bounce<br>"
diff --git a/legacy/elementary/src/bin/test_anchorblock.c b/legacy/elementary/src/bin/test_anchorblock.c
index 0f9818bc02..a94586c628 100644
--- a/legacy/elementary/src/bin/test_anchorblock.c
+++ b/legacy/elementary/src/bin/test_anchorblock.c
@@ -230,7 +230,7 @@ test_anchorblock(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event
230 elm_box_pack_end(bx, bb); 230 elm_box_pack_end(bx, bb);
231 evas_object_show(bb); 231 evas_object_show(bb);
232 232
233 elm_scroller_content_set(sc, bx); 233 elm_object_content_set(sc, bx);
234 evas_object_show(bx); 234 evas_object_show(bx);
235 235
236 evas_object_show(sc); 236 evas_object_show(sc);
diff --git a/legacy/elementary/src/bin/test_button.c b/legacy/elementary/src/bin/test_button.c
index 95abab11e5..f2f1fb311d 100644
--- a/legacy/elementary/src/bin/test_button.c
+++ b/legacy/elementary/src/bin/test_button.c
@@ -55,7 +55,7 @@ test_button(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
55 55
56 bx = elm_box_add(win); 56 bx = elm_box_add(win);
57 evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 57 evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
58 elm_scroller_content_set(scr, bx); 58 elm_object_content_set(scr, bx);
59 evas_object_show(bx); 59 evas_object_show(bx);
60 60
61 ic = elm_icon_add(win); 61 ic = elm_icon_add(win);
diff --git a/legacy/elementary/src/bin/test_ctxpopup.c b/legacy/elementary/src/bin/test_ctxpopup.c
index c856a9ed2d..ac6d030d41 100644
--- a/legacy/elementary/src/bin/test_ctxpopup.c
+++ b/legacy/elementary/src/bin/test_ctxpopup.c
@@ -188,7 +188,7 @@ _list_item_cb5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
188 elm_object_text_set(btn, "Enlightenment"); 188 elm_object_text_set(btn, "Enlightenment");
189 evas_object_size_hint_min_set(btn, 140, 140); 189 evas_object_size_hint_min_set(btn, 140, 140);
190 190
191 elm_scroller_content_set(sc, btn); 191 elm_object_content_set(sc, btn);
192 192
193 elm_box_pack_end(bx, sc); 193 elm_box_pack_end(bx, sc);
194 194
diff --git a/legacy/elementary/src/bin/test_factory.c b/legacy/elementary/src/bin/test_factory.c
index bd6621987f..a6e96ebba6 100644
--- a/legacy/elementary/src/bin/test_factory.c
+++ b/legacy/elementary/src/bin/test_factory.c
@@ -178,7 +178,7 @@ test_factory(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf
178 evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 178 evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
179 elm_win_resize_object_add(win, sc); 179 elm_win_resize_object_add(win, sc);
180 180
181 elm_scroller_content_set(sc, bx); 181 elm_object_content_set(sc, bx);
182 evas_object_show(bx); 182 evas_object_show(bx);
183 183
184 evas_object_show(sc); 184 evas_object_show(sc);
diff --git a/legacy/elementary/src/bin/test_focus.c b/legacy/elementary/src/bin/test_focus.c
index 08f371321b..f2df2041ee 100644
--- a/legacy/elementary/src/bin/test_focus.c
+++ b/legacy/elementary/src/bin/test_focus.c
@@ -162,7 +162,7 @@ test_focus(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
162 EVAS_HINT_FILL); 162 EVAS_HINT_FILL);
163 evas_object_size_hint_weight_set(bt, 0.0, 0.0); 163 evas_object_size_hint_weight_set(bt, 0.0, 0.0);
164 elm_object_event_callback_add(bt, _event, NULL); 164 elm_object_event_callback_add(bt, _event, NULL);
165 elm_scroller_content_set(sc, bt); 165 elm_object_content_set(sc, bt);
166 my_show(bt); 166 my_show(bt);
167 elm_object_event_callback_del(bt, _event, NULL); 167 elm_object_event_callback_del(bt, _event, NULL);
168 } 168 }
@@ -228,7 +228,7 @@ test_focus(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
228 evas_object_size_hint_align_set(bx3, EVAS_HINT_FILL, 228 evas_object_size_hint_align_set(bx3, EVAS_HINT_FILL,
229 EVAS_HINT_FILL); 229 EVAS_HINT_FILL);
230 evas_object_size_hint_weight_set(bx3, 0.0, 0.0); 230 evas_object_size_hint_weight_set(bx3, 0.0, 0.0);
231 elm_scroller_content_set(sc, bx3); 231 elm_object_content_set(sc, bx3);
232 my_show(bx3); 232 my_show(bx3);
233 233
234 for (i = 5; i; i--) 234 for (i = 5; i; i--)
diff --git a/legacy/elementary/src/bin/test_launcher.c b/legacy/elementary/src/bin/test_launcher.c
index 250481cdfc..1a96a4cc61 100644
--- a/legacy/elementary/src/bin/test_launcher.c
+++ b/legacy/elementary/src/bin/test_launcher.c
@@ -313,7 +313,7 @@ test_launcher(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
313 elm_win_resize_object_add(win, bx2); 313 elm_win_resize_object_add(win, bx2);
314 evas_object_show(bx2); 314 evas_object_show(bx2);
315 315
316 elm_scroller_content_set(sc, bx); 316 elm_object_content_set(sc, bx);
317 evas_object_show(bx); 317 evas_object_show(bx);
318 318
319 elm_scroller_page_relative_set(sc, 1.0, 1.0); 319 elm_scroller_page_relative_set(sc, 1.0, 1.0);
@@ -440,7 +440,7 @@ test_launcher2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
440 evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 440 evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
441 elm_win_resize_object_add(win, sc); 441 elm_win_resize_object_add(win, sc);
442 442
443 elm_scroller_content_set(sc, bx); 443 elm_object_content_set(sc, bx);
444 evas_object_show(bx); 444 evas_object_show(bx);
445 445
446 elm_scroller_page_relative_set(sc, 1.0, 1.0); 446 elm_scroller_page_relative_set(sc, 1.0, 1.0);
@@ -848,7 +848,7 @@ test_launcher3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
848 elm_win_resize_object_add(win, bx2); 848 elm_win_resize_object_add(win, bx2);
849 evas_object_show(bx2); 849 evas_object_show(bx2);
850 850
851 elm_scroller_content_set(sc, bx); 851 elm_object_content_set(sc, bx);
852 evas_object_show(bx); 852 evas_object_show(bx);
853 853
854 elm_scroller_page_relative_set(sc, 1.0, 1.0); 854 elm_scroller_page_relative_set(sc, 1.0, 1.0);
diff --git a/legacy/elementary/src/bin/test_photo.c b/legacy/elementary/src/bin/test_photo.c
index 1e3cf1d6b0..43505100bf 100644
--- a/legacy/elementary/src/bin/test_photo.c
+++ b/legacy/elementary/src/bin/test_photo.c
@@ -82,7 +82,7 @@ test_photo(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
82 evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 82 evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
83 elm_win_resize_object_add(win, sc); 83 elm_win_resize_object_add(win, sc);
84 84
85 elm_scroller_content_set(sc, tb); 85 elm_object_content_set(sc, tb);
86 evas_object_show(tb); 86 evas_object_show(tb);
87 evas_object_show(sc); 87 evas_object_show(sc);
88 88
diff --git a/legacy/elementary/src/bin/test_progressbar.c b/legacy/elementary/src/bin/test_progressbar.c
index c4ed5f26eb..370347d7c0 100644
--- a/legacy/elementary/src/bin/test_progressbar.c
+++ b/legacy/elementary/src/bin/test_progressbar.c
@@ -115,7 +115,7 @@ test_progressbar(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event
115 115
116 pb = elm_progressbar_add(win); 116 pb = elm_progressbar_add(win);
117 elm_object_text_set(pb, "Label"); 117 elm_object_text_set(pb, "Label");
118 elm_progressbar_icon_set(pb, ic1); 118 elm_object_content_set(pb, ic1);
119 elm_progressbar_inverted_set(pb, 1); 119 elm_progressbar_inverted_set(pb, 1);
120 elm_progressbar_unit_format_set(pb, "%1.1f units"); 120 elm_progressbar_unit_format_set(pb, "%1.1f units");
121 elm_progressbar_span_size_set(pb, 200); 121 elm_progressbar_span_size_set(pb, 200);
@@ -162,7 +162,7 @@ test_progressbar(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event
162 pb = elm_progressbar_add(win); 162 pb = elm_progressbar_add(win);
163 elm_progressbar_horizontal_set(pb, EINA_FALSE); 163 elm_progressbar_horizontal_set(pb, EINA_FALSE);
164 elm_object_text_set(pb, "Label"); 164 elm_object_text_set(pb, "Label");
165 elm_progressbar_icon_set(pb, ic2); 165 elm_object_content_set(pb, ic2);
166 elm_progressbar_inverted_set(pb, 1); 166 elm_progressbar_inverted_set(pb, 1);
167 elm_progressbar_unit_format_set(pb, "%1.2f%%"); 167 elm_progressbar_unit_format_set(pb, "%1.2f%%");
168 elm_progressbar_span_size_set(pb, 200); 168 elm_progressbar_span_size_set(pb, 200);
diff --git a/legacy/elementary/src/bin/test_radio.c b/legacy/elementary/src/bin/test_radio.c
index 2b91628183..2d0351c1ac 100644
--- a/legacy/elementary/src/bin/test_radio.c
+++ b/legacy/elementary/src/bin/test_radio.c
@@ -33,7 +33,7 @@ test_radio(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
33 evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 33 evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
34 evas_object_size_hint_align_set(rd, EVAS_HINT_FILL, 0.5); 34 evas_object_size_hint_align_set(rd, EVAS_HINT_FILL, 0.5);
35 elm_object_text_set(rd, "Icon sized to radio"); 35 elm_object_text_set(rd, "Icon sized to radio");
36 elm_radio_icon_set(rd, ic); 36 elm_object_content_set(rd, ic);
37 elm_box_pack_end(bx, rd); 37 elm_box_pack_end(bx, rd);
38 evas_object_show(rd); 38 evas_object_show(rd);
39 evas_object_show(ic); 39 evas_object_show(ic);
@@ -48,7 +48,7 @@ test_radio(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
48 elm_radio_state_value_set(rd, 1); 48 elm_radio_state_value_set(rd, 1);
49 elm_radio_group_add(rd, rdg); 49 elm_radio_group_add(rd, rdg);
50 elm_object_text_set(rd, "Icon no scale"); 50 elm_object_text_set(rd, "Icon no scale");
51 elm_radio_icon_set(rd, ic); 51 elm_object_content_set(rd, ic);
52 elm_box_pack_end(bx, rd); 52 elm_box_pack_end(bx, rd);
53 evas_object_show(rd); 53 evas_object_show(rd);
54 evas_object_show(ic); 54 evas_object_show(ic);
@@ -76,7 +76,7 @@ test_radio(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
76 rd = elm_radio_add(win); 76 rd = elm_radio_add(win);
77 elm_radio_state_value_set(rd, 4); 77 elm_radio_state_value_set(rd, 4);
78 elm_radio_group_add(rd, rdg); 78 elm_radio_group_add(rd, rdg);
79 elm_radio_icon_set(rd, ic); 79 elm_object_content_set(rd, ic);
80 elm_box_pack_end(bx, rd); 80 elm_box_pack_end(bx, rd);
81 evas_object_show(rd); 81 evas_object_show(rd);
82 evas_object_show(ic); 82 evas_object_show(ic);
@@ -89,7 +89,7 @@ test_radio(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
89 rd = elm_radio_add(win); 89 rd = elm_radio_add(win);
90 elm_radio_state_value_set(rd, 5); 90 elm_radio_state_value_set(rd, 5);
91 elm_radio_group_add(rd, rdg); 91 elm_radio_group_add(rd, rdg);
92 elm_radio_icon_set(rd, ic); 92 elm_object_content_set(rd, ic);
93 elm_object_disabled_set(rd, 1); 93 elm_object_disabled_set(rd, 1);
94 elm_box_pack_end(bx, rd); 94 elm_box_pack_end(bx, rd);
95 evas_object_show(rd); 95 evas_object_show(rd);
diff --git a/legacy/elementary/src/bin/test_scroller.c b/legacy/elementary/src/bin/test_scroller.c
index 0776ebd628..32c39286f4 100644
--- a/legacy/elementary/src/bin/test_scroller.c
+++ b/legacy/elementary/src/bin/test_scroller.c
@@ -81,11 +81,10 @@ test_scroller(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
81 evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 81 evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
82 elm_win_resize_object_add(win, sc); 82 elm_win_resize_object_add(win, sc);
83 83
84 elm_scroller_content_set(sc, tb); 84 elm_object_content_set(sc, tb);
85 evas_object_show(tb); 85 evas_object_show(tb);
86 86
87 elm_scroller_page_relative_set(sc, 1.0, 1.0); 87 elm_scroller_page_relative_set(sc, 1.0, 1.0);
88// elm_scroller_page_size_set(sc, 200, 200);
89 evas_object_show(sc); 88 evas_object_show(sc);
90 89
91 tb2 = elm_table_add(win); 90 tb2 = elm_table_add(win);
@@ -189,7 +188,7 @@ test_scroller2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
189 evas_object_show(bt); 188 evas_object_show(bt);
190 } 189 }
191 190
192 elm_scroller_content_set(sc, bx2); 191 elm_object_content_set(sc, bx2);
193 evas_object_show(bx2); 192 evas_object_show(bx2);
194 /* } */ 193 /* } */
195 194
@@ -237,7 +236,7 @@ test_scroller2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
237 } 236 }
238 } 237 }
239 238
240 elm_scroller_content_set(sc, tb2); 239 elm_object_content_set(sc, tb2);
241 evas_object_show(tb2); 240 evas_object_show(tb2);
242 /* } */ 241 /* } */
243 242
@@ -256,7 +255,7 @@ test_scroller2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
256 evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 255 evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
257 elm_scroller_bounce_set(sc, 0, 1); 256 elm_scroller_bounce_set(sc, 0, 1);
258 elm_win_resize_object_add(win, sc); 257 elm_win_resize_object_add(win, sc);
259 elm_scroller_content_set(sc, bx); 258 elm_object_content_set(sc, bx);
260 evas_object_show(bx); 259 evas_object_show(bx);
261 evas_object_show(sc); 260 evas_object_show(sc);
262 261
diff --git a/legacy/elementary/src/bin/test_slider.c b/legacy/elementary/src/bin/test_slider.c
index 2b19f85ba6..17497dc812 100644
--- a/legacy/elementary/src/bin/test_slider.c
+++ b/legacy/elementary/src/bin/test_slider.c
@@ -39,7 +39,7 @@ test_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
39 sl = elm_slider_add(win); 39 sl = elm_slider_add(win);
40 sl1 = sl; 40 sl1 = sl;
41 elm_object_text_set(sl, "Horizontal"); 41 elm_object_text_set(sl, "Horizontal");
42 elm_slider_icon_set(sl, ic); 42 elm_object_content_part_set(sl, ELM_SLIDER_CONTENT_ICON, ic);
43 elm_slider_unit_format_set(sl, "%1.1f units"); 43 elm_slider_unit_format_set(sl, "%1.1f units");
44 elm_slider_span_size_set(sl, 120); 44 elm_slider_span_size_set(sl, 120);
45 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); 45 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
@@ -56,7 +56,7 @@ test_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
56 56
57 sl = elm_slider_add(win); 57 sl = elm_slider_add(win);
58 elm_object_text_set(sl, "Disabled"); 58 elm_object_text_set(sl, "Disabled");
59 elm_slider_icon_set(sl, ic); 59 elm_object_content_part_set(sl, ELM_SLIDER_CONTENT_ICON, ic);
60 elm_slider_unit_format_set(sl, "%1.1f units"); 60 elm_slider_unit_format_set(sl, "%1.1f units");
61 elm_slider_span_size_set(sl, 120); 61 elm_slider_span_size_set(sl, 120);
62 elm_slider_min_max_set(sl, 50, 150); 62 elm_slider_min_max_set(sl, 50, 150);
@@ -75,7 +75,7 @@ test_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
75 75
76 sl = elm_slider_add(win); 76 sl = elm_slider_add(win);
77 elm_object_text_set(sl, "Horizontal inverted"); 77 elm_object_text_set(sl, "Horizontal inverted");
78 elm_slider_end_set(sl, ic); 78 elm_object_content_part_set(sl, ELM_SLIDER_CONTENT_END, ic);
79 elm_slider_span_size_set(sl, 80); 79 elm_slider_span_size_set(sl, 80);
80 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); 80 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
81 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 81 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@@ -97,7 +97,7 @@ test_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
97 97
98 sl = elm_slider_add(win); 98 sl = elm_slider_add(win);
99 elm_object_text_set(sl, "Disabled inverted"); 99 elm_object_text_set(sl, "Disabled inverted");
100 elm_slider_end_set(sl, ic); 100 elm_object_content_part_set(sl, ELM_SLIDER_CONTENT_END, ic);
101 elm_slider_span_size_set(sl, 80); 101 elm_slider_span_size_set(sl, 80);
102 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); 102 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
103 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 103 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@@ -140,7 +140,7 @@ test_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
140 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1); 140 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
141 141
142 sl = elm_slider_add(win); 142 sl = elm_slider_add(win);
143 elm_slider_icon_set(sl, ic); 143 elm_object_content_part_set(sl, ELM_SLIDER_CONTENT_ICON, ic);
144 elm_object_text_set(sl, "Vertical inverted"); 144 elm_object_text_set(sl, "Vertical inverted");
145 elm_slider_inverted_set(sl, EINA_TRUE); 145 elm_slider_inverted_set(sl, EINA_TRUE);
146 elm_slider_unit_format_set(sl, "units"); 146 elm_slider_unit_format_set(sl, "units");
@@ -178,7 +178,7 @@ test_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
178 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1); 178 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
179 179
180 sl = elm_slider_add(win); 180 sl = elm_slider_add(win);
181 elm_slider_icon_set(sl, ic); 181 elm_object_content_part_set(sl, ELM_SLIDER_CONTENT_ICON, ic);
182 elm_object_text_set(sl, "Disabled vertical"); 182 elm_object_text_set(sl, "Disabled vertical");
183 elm_slider_inverted_set(sl, EINA_TRUE); 183 elm_slider_inverted_set(sl, EINA_TRUE);
184 elm_slider_unit_format_set(sl, "units"); 184 elm_slider_unit_format_set(sl, "units");
diff --git a/legacy/elementary/src/bin/test_thumb.c b/legacy/elementary/src/bin/test_thumb.c
index 7f01f877df..b6d7f62a14 100644
--- a/legacy/elementary/src/bin/test_thumb.c
+++ b/legacy/elementary/src/bin/test_thumb.c
@@ -62,7 +62,7 @@ test_thumb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
62 evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 62 evas_object_size_hint_weight_set(sc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
63 elm_win_resize_object_add(win, sc); 63 elm_win_resize_object_add(win, sc);
64 64
65 elm_scroller_content_set(sc, tb); 65 elm_object_content_set(sc, tb);
66 evas_object_show(tb); 66 evas_object_show(tb);
67 evas_object_show(sc); 67 evas_object_show(sc);
68 68
diff --git a/legacy/elementary/src/bin/test_win_inline.c b/legacy/elementary/src/bin/test_win_inline.c
index a51cd7d67a..e3b9ac58ae 100644
--- a/legacy/elementary/src/bin/test_win_inline.c
+++ b/legacy/elementary/src/bin/test_win_inline.c
@@ -128,7 +128,7 @@ fill(Evas_Object *win, Eina_Bool do_bg)
128 elm_box_pack_end(bx, bb); 128 elm_box_pack_end(bx, bb);
129 evas_object_show(bb); 129 evas_object_show(bb);
130 130
131 elm_scroller_content_set(sc, bx); 131 elm_object_content_set(sc, bx);
132 evas_object_show(bx); 132 evas_object_show(bx);
133 133
134 evas_object_show(sc); 134 evas_object_show(sc);