win: Remove "ioerr" event

Unless it's implemented for Wayland as well, AND provides more
information than a NULL event_info, I see no point in this being an EO
event. Keep legacy as-is: a smart callback only.

Also, minor cleanups to the EO file.

Ref T5322
This commit is contained in:
Jean-Philippe Andre 2018-01-18 14:06:45 +09:00
parent 8abf43b373
commit 50a082cab9
2 changed files with 2 additions and 5 deletions

View File

@ -4599,7 +4599,7 @@ _elm_x_io_err(void *data EINA_UNUSED)
Evas_Object *obj;
EINA_LIST_FOREACH(_elm_win_list, l, obj)
efl_event_callback_legacy_call(obj, EFL_UI_WIN_EVENT_IOERR, NULL);
evas_object_smart_callback_call(obj, "ioerr", NULL);
elm_exit();
}
#endif

View File

@ -165,8 +165,6 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas, Efl.Canvas.Pointer, Efl.Access.Wind
{
[[Efl UI window class]]
legacy_prefix: elm_win;
eo_prefix: efl_ui_win;
event_prefix: efl_ui_win;
methods {
@property indicator_mode {
[[In some environments you may have an indicator that
@ -485,7 +483,7 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas, Efl.Canvas.Pointer, Efl.Access.Wind
Note: Once set, it cannot be modified afterwards.
]]
set {
[[Name can on be set before finalize.]]
[[Name can only be set before finalize.]]
legacy: null;
}
get {
@ -841,7 +839,6 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas, Efl.Canvas.Pointer, Efl.Access.Wind
unfullscreen; [[Called when window is no longer set to fullscreen]]
maximized; [[Called when window is set to maximized]]
unmaximized; [[Called when window is no longer set to maximized]]
ioerr; [[Called on input output error]] /*FIXME Better explanation needed */
indicator,prop,changed; [[Called when indicator is property changed]]
rotation,changed; [[Called when window rotation is changed]]
profile,changed; [[Called when profile is changed]]