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.
This commit is contained in:
Jean-Philippe Andre 2017-11-10 16:50:01 +09:00
parent 0c3f518ccf
commit 51c316ab5f
1 changed files with 0 additions and 2 deletions

View File

@ -25,8 +25,6 @@ elm_main(int argc, char* argv[])
win_1.type_set(EFL_UI_WIN_BASIC);
});
win_1.autodel_set(true);
#if 0
win_1.eo_cxx::efl::Gfx::size_set({320, 300});