summaryrefslogtreecommitdiff
path: root/src/examples/elementary/toolbar_cxx_example_01.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/toolbar_cxx_example_01.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/toolbar_cxx_example_01.cc')
-rw-r--r--src/examples/elementary/toolbar_cxx_example_01.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/toolbar_cxx_example_01.cc b/src/examples/elementary/toolbar_cxx_example_01.cc
index 28e0dfcc74..f194221d19 100644
--- a/src/examples/elementary/toolbar_cxx_example_01.cc
+++ b/src/examples/elementary/toolbar_cxx_example_01.cc
@@ -25,7 +25,7 @@ elm_main(int argc, char* argv[])
25 }); 25 });
26 26
27 win_1.autodel_set(true); 27 win_1.autodel_set(true);
28 win_1.eo_cxx::efl::Gfx::size_set(320, 300); 28 win_1.eo_cxx::efl::Gfx::size_set({320, 300});
29 29
30 efl::ui::Box box_1(instantiate, win_1); 30 efl::ui::Box box_1(instantiate, win_1);
31 box_1.hint_weight_set(1.0, 1.0); 31 box_1.hint_weight_set(1.0, 1.0);