diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index 5560e5f18d..522557ee79 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -6979,4 +6979,19 @@ elm_win_aspect_get(const Eo *obj) return _win_aspect_get(sd); } +// deprecated +EAPI void +elm_win_name_set(Evas_Object *obj, const char *name) +{ + ERR("Calling deprecrated function '%s'", __FUNCTION__); + efl_ui_win_name_set(obj, name); +} + +EAPI void +elm_win_type_set(Evas_Object *obj, Elm_Win_Type type) +{ + ERR("Calling deprecrated function '%s'", __FUNCTION__); + efl_ui_win_type_set(obj, type); +} + #include "efl_ui_win.eo.c" diff --git a/src/lib/elementary/efl_ui_win.eo b/src/lib/elementary/efl_ui_win.eo index c4ef976b30..8bcd0f0372 100644 --- a/src/lib/elementary/efl_ui_win.eo +++ b/src/lib/elementary/efl_ui_win.eo @@ -557,12 +557,6 @@ class Efl.Ui.Win (Elm.Widget, Efl.Canvas, Elm.Interface.Atspi.Window, Note: Once set, it can NOT be modified afterward. ]] - /* FIXME-doc - Example: - @code - win = eo_add(ELM_WIN_CLASS, NULL, elm_obj_win_name_set(ELM_WIN_BASIC)); - @endcode - */ set { [[Can only be used at creation time, within \@ref eo_add.]] legacy: null; @@ -582,12 +576,6 @@ class Efl.Ui.Win (Elm.Widget, Efl.Canvas, Elm.Interface.Atspi.Window, Note: Once set, it can NOT be modified afterward. ]] - /* FIXME-doc - Example: - @code - win = eo_add(ELM_WIN_CLASS, NULL, elm_obj_win_type_set(ELM_WIN_BASIC)); - @endcode - */ set { [[Can only be used at creation time, within \@ref eo_add.]] legacy: null; diff --git a/src/lib/elementary/elm_deprecated.h b/src/lib/elementary/elm_deprecated.h index 91c556cfa8..db62228e63 100644 --- a/src/lib/elementary/elm_deprecated.h +++ b/src/lib/elementary/elm_deprecated.h @@ -1640,3 +1640,7 @@ EINA_DEPRECATED EAPI const char *elm_fileselector_entry_selected_get(const Evas_ //TODO: remvoe below - use elm_access_text_set(); or elm_access_cb_set(); EINA_DEPRECATED EAPI void elm_access_external_info_set(Evas_Object *obj, const char *text); EINA_DEPRECATED EAPI char *elm_access_external_info_get(const Evas_Object *obj); + +// elm_win +EINA_DEPRECATED EAPI void elm_win_type_set(Evas_Object *obj, Elm_Win_Type type); +EINA_DEPRECATED EAPI void elm_win_name_set(Evas_Object *obj, const char *name);