efl_ui_win: declare constructors not optional
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Sat, 18 Apr 2020 17:43:11 +0000 (19:43 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 9 Jun 2020 21:19:10 +0000 (06:19 +0900)
they cannot be optional, or in later languages types will collide.

Differential Revision: https://phab.enlightenment.org/D11741

src/lib/elementary/efl_ui_win.eo

index 6c7a281..3346de8 100644 (file)
@@ -887,9 +887,9 @@ class Efl.Ui.Win extends Efl.Ui.Widget implements Efl.Canvas.Scene, Efl.Access.W
       //
    }
    constructors {
-      .win_name @optional;
+      .win_name;
       .win_type @optional;
-      .accel_preference @optional;
+      .accel_preference;
    }
    events {
       delete,request: void; [[Called when the window receives a delete request]]