summaryrefslogtreecommitdiff
path: root/src/examples/elementary/clock_cxx_example.cc
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2017-09-19 08:23:48 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2017-09-19 08:32:43 +0200
commitca6a1e25f506aa02f925c7c5d7f5019d5a7ff3c8 (patch)
tree8b8cbead63c8a852c32a9591e81737a35542c53e /src/examples/elementary/clock_cxx_example.cc
parentc88aadb42a0193492de12100e9c491af3d72429e (diff)
examples: cxx: fix examples for new size_set function signature
This no longer takes two parameters. Update to the new signature.
Diffstat (limited to 'src/examples/elementary/clock_cxx_example.cc')
-rw-r--r--src/examples/elementary/clock_cxx_example.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/elementary/clock_cxx_example.cc b/src/examples/elementary/clock_cxx_example.cc
index aa5866afb9..bb8be2b39a 100644
--- a/src/examples/elementary/clock_cxx_example.cc
+++ b/src/examples/elementary/clock_cxx_example.cc
@@ -19,7 +19,7 @@ elm_main (int argc EINA_UNUSED, char **argv EINA_UNUSED)
19 efl::ui::Box bx(instantiate, win); 19 efl::ui::Box bx(instantiate, win);
20 //bx.size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 20 //bx.size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
21 //win.resize_object_add(bx); 21 //win.resize_object_add(bx);
22 bx.eo_cxx::efl::Gfx::size_set(300,300); 22 bx.eo_cxx::efl::Gfx::size_set({300,300});
23 bx.visible_set(true); 23 bx.visible_set(true);
24 24
25 ::elm::Clock ck(instantiate, win); 25 ::elm::Clock ck(instantiate, win);
@@ -53,7 +53,7 @@ elm_main (int argc EINA_UNUSED, char **argv EINA_UNUSED)
53 bx.pack_end(ck5); 53 bx.pack_end(ck5);
54 ck5.visible_set(true); 54 ck5.visible_set(true);
55 55
56 win.eo_cxx::efl::Gfx::size_set(500,500); 56 win.eo_cxx::efl::Gfx::size_set({500,500});
57 win.visible_set(true); 57 win.visible_set(true);
58 58
59 elm_run(); 59 elm_run();