summaryrefslogtreecommitdiff
path: root/src/examples/elementary
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-08-23 18:08:39 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-08-23 18:08:39 +0900
commit8aae656b8003f3f3cf4dd0dbed9aae92eee521ef (patch)
tree042c24725a19872b4c536c118f6f4cff7c9c0250 /src/examples/elementary
parent4acb83c8d95b73892cf2c1073eb21d8e140bf65c (diff)
slider_cxx_example: Fix use wrong api
Summary: d50fdc0, e84ecd95 changes cause build errors. this is a patch to fix it. Test Plan: N/A Reviewers: zmike, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9721
Diffstat (limited to 'src/examples/elementary')
-rw-r--r--src/examples/elementary/slider_cxx_example.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/examples/elementary/slider_cxx_example.cc b/src/examples/elementary/slider_cxx_example.cc
index 941ecc5..5521588 100644
--- a/src/examples/elementary/slider_cxx_example.cc
+++ b/src/examples/elementary/slider_cxx_example.cc
@@ -30,7 +30,8 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
30 efl::ui::Slider sl2(instantiate, win); 30 efl::ui::Slider sl2(instantiate, win);
31 efl::ui::Image ic(instantiate, win); 31 efl::ui::Image ic(instantiate, win);
32 ic.icon_set("folder"); 32 ic.icon_set("folder");
33 ic.scalable_set(false, false); 33 ic.can_upscale_set(false);
34 ic.can_downscale_set(false);
34 // FIXME: C++ part API needs special reference handling! This will show ERR! 35 // FIXME: C++ part API needs special reference handling! This will show ERR!
35 efl::eo::downcast<efl::Content>(sl2.part_get("elm.swallow.end")) 36 efl::eo::downcast<efl::Content>(sl2.part_get("elm.swallow.end"))
36 .content_set(ic); 37 .content_set(ic);