efl_ui_win: Disable legacy for name and type set

Those are only valid during eo_add, before finalize.
Both of these are constructors.
Add again jp's code.
This commit is contained in:
Ji-Youn Park 2016-06-08 09:01:00 +08:30
parent 54f88b0368
commit 41aa19447c
1 changed files with 2 additions and 1 deletions

View File

@ -565,12 +565,13 @@ class Efl.Ui.Win (Elm.Widget, Elm.Interface.Atspi.Window,
*/
set {
[[Can only be used at creation time, within \@ref eo_add.]]
legacy: null;
}
values {
name: string @nullable;
}
}
@property type { /* FIXME: before finalize */
@property type {
[[The type of the window.
It is a hint of how the Window Manager should handle it.