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
This commit is contained in:
parent
4acb83c8d9
commit
8aae656b80
|
@ -30,7 +30,8 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
|
|||
efl::ui::Slider sl2(instantiate, win);
|
||||
efl::ui::Image ic(instantiate, win);
|
||||
ic.icon_set("folder");
|
||||
ic.scalable_set(false, false);
|
||||
ic.can_upscale_set(false);
|
||||
ic.can_downscale_set(false);
|
||||
// FIXME: C++ part API needs special reference handling! This will show ERR!
|
||||
efl::eo::downcast<efl::Content>(sl2.part_get("elm.swallow.end"))
|
||||
.content_set(ic);
|
||||
|
|
Loading…
Reference in New Issue