summaryrefslogtreecommitdiff
path: root/src/examples/elementary/toolbar_cxx_example_01.cc
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-10 16:50:01 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-14 12:18:39 +0900
commit0c142462a1b928f88589612333c695f80cc09a51 (patch)
tree07a465343042a12343d067c089c97879e45a9579 /src/examples/elementary/toolbar_cxx_example_01.cc
parentee89f8767305326f63a196b9290cabc99e857c87 (diff)
win: Move autodel to C only
Note: this is C only, not legacy only. The problem is that bindings will hold a strong reference to the window, which will then die "under the rug" if autodel is enabled. This then leads to at least ERR if not crashes. Note: elm_policy needs to support autodel and quit on last del only for C applications. Bindings will require some other mechanism that doesn't break all assumptions wrt. references.
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, 0 insertions, 2 deletions
diff --git a/src/examples/elementary/toolbar_cxx_example_01.cc b/src/examples/elementary/toolbar_cxx_example_01.cc
index 12548e046d..f76f959589 100644
--- a/src/examples/elementary/toolbar_cxx_example_01.cc
+++ b/src/examples/elementary/toolbar_cxx_example_01.cc
@@ -25,8 +25,6 @@ elm_main(int argc, char* argv[])
25 win_1.type_set(EFL_UI_WIN_BASIC); 25 win_1.type_set(EFL_UI_WIN_BASIC);
26 }); 26 });
27 27
28 win_1.autodel_set(true);
29
30#if 0 28#if 0
31 win_1.eo_cxx::efl::Gfx::size_set({320, 300}); 29 win_1.eo_cxx::efl::Gfx::size_set({320, 300});
32 30