summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2018-01-18 14:06:45 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2018-01-18 14:06:45 +0900
commit50a082cab9fb1c8b83a5295df391b53cc5ced4cd (patch)
treeb0b39311a895dc86547e8ce442aab1ceab4c172a
parent8abf43b3730da81a6b67bae6f2cecc43b50371a4 (diff)
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
-rw-r--r--src/lib/elementary/efl_ui_win.c2
-rw-r--r--src/lib/elementary/efl_ui_win.eo5
2 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 67bdafeb23..1dceaf972d 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -4599,7 +4599,7 @@ _elm_x_io_err(void *data EINA_UNUSED)
4599 Evas_Object *obj; 4599 Evas_Object *obj;
4600 4600
4601 EINA_LIST_FOREACH(_elm_win_list, l, obj) 4601 EINA_LIST_FOREACH(_elm_win_list, l, obj)
4602 efl_event_callback_legacy_call(obj, EFL_UI_WIN_EVENT_IOERR, NULL); 4602 evas_object_smart_callback_call(obj, "ioerr", NULL);
4603 elm_exit(); 4603 elm_exit();
4604} 4604}
4605#endif 4605#endif
diff --git a/src/lib/elementary/efl_ui_win.eo b/src/lib/elementary/efl_ui_win.eo
index 85be4f2708..7d6f8560f3 100644
--- a/src/lib/elementary/efl_ui_win.eo
+++ b/src/lib/elementary/efl_ui_win.eo
@@ -165,8 +165,6 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas, Efl.Canvas.Pointer, Efl.Access.Wind
165{ 165{
166 [[Efl UI window class]] 166 [[Efl UI window class]]
167 legacy_prefix: elm_win; 167 legacy_prefix: elm_win;
168 eo_prefix: efl_ui_win;
169 event_prefix: efl_ui_win;
170 methods { 168 methods {
171 @property indicator_mode { 169 @property indicator_mode {
172 [[In some environments you may have an indicator that 170 [[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
485 Note: Once set, it cannot be modified afterwards. 483 Note: Once set, it cannot be modified afterwards.
486 ]] 484 ]]
487 set { 485 set {
488 [[Name can on be set before finalize.]] 486 [[Name can only be set before finalize.]]
489 legacy: null; 487 legacy: null;
490 } 488 }
491 get { 489 get {
@@ -841,7 +839,6 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas, Efl.Canvas.Pointer, Efl.Access.Wind
841 unfullscreen; [[Called when window is no longer set to fullscreen]] 839 unfullscreen; [[Called when window is no longer set to fullscreen]]
842 maximized; [[Called when window is set to maximized]] 840 maximized; [[Called when window is set to maximized]]
843 unmaximized; [[Called when window is no longer set to maximized]] 841 unmaximized; [[Called when window is no longer set to maximized]]
844 ioerr; [[Called on input output error]] /*FIXME Better explanation needed */
845 indicator,prop,changed; [[Called when indicator is property changed]] 842 indicator,prop,changed; [[Called when indicator is property changed]]
846 rotation,changed; [[Called when window rotation is changed]] 843 rotation,changed; [[Called when window rotation is changed]]
847 profile,changed; [[Called when profile is changed]] 844 profile,changed; [[Called when profile is changed]]