diff --git a/legacy/elementary/src/lib/elm_deprecated.h b/legacy/elementary/src/lib/elm_deprecated.h index f24c19af15..8e59d3e13e 100644 --- a/legacy/elementary/src/lib/elm_deprecated.h +++ b/legacy/elementary/src/lib/elm_deprecated.h @@ -4741,6 +4741,30 @@ EAPI Elm_Object_Item *elm_index_item_append_relative(Evas_Object *obj, cons */ EAPI Elm_Object_Item *elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const Elm_Object_Item *relative); +/** + * Set the transparency state of a window. + * + * Use elm_win_alpha_set() instead. + * + * @param obj The window object + * @param transparent If true, the window is transparent + * + * @see elm_win_alpha_set() + * @deprecated Please use elm_win_alpha_set() + */ +EINA_DEPRECATED EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent); + +/** + * Get the transparency state of a window. + * + * @param obj The window object + * @return If true, the window is transparent + * + * @see elm_win_transparent_set() + * @deprecated Please use elm_win_alpha_get() + */ +EINA_DEPRECATED EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj); + /** * @} */ diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c index 044d48d9e5..32cbc6e480 100644 --- a/legacy/elementary/src/lib/elm_win.c +++ b/legacy/elementary/src/lib/elm_win.c @@ -2362,7 +2362,7 @@ elm_win_alpha_get(const Evas_Object *obj) return ecore_evas_alpha_get(win->ee); } -EAPI void +EINA_DEPRECATED EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent) { Elm_Win *win; @@ -2391,7 +2391,7 @@ elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent) } } -EAPI Eina_Bool +EINA_DEPRECATED EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj) { Elm_Win *win; diff --git a/legacy/elementary/src/lib/elm_win.h b/legacy/elementary/src/lib/elm_win.h index 254d652e75..db6d0463a6 100644 --- a/legacy/elementary/src/lib/elm_win.h +++ b/legacy/elementary/src/lib/elm_win.h @@ -521,30 +521,6 @@ EAPI void elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha); */ EAPI Eina_Bool elm_win_alpha_get(const Evas_Object *obj); -/** - * Set the transparency state of a window. - * - * Use elm_win_alpha_set() instead. - * - * @param obj The window object - * @param transparent If true, the window is transparent - * - * @see elm_win_alpha_set() - */ -// XXX: deprecate this -EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent); - -/** - * Get the transparency state of a window. - * - * @param obj The window object - * @return If true, the window is transparent - * - * @see elm_win_transparent_set() - */ -// XXX: deprecate this -EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj); - /** * Set the override state of a window. * diff --git a/legacy/elementary/src/lib/els_tooltip.c b/legacy/elementary/src/lib/els_tooltip.c index a9efedf548..a4ac5e0453 100644 --- a/legacy/elementary/src/lib/els_tooltip.c +++ b/legacy/elementary/src/lib/els_tooltip.c @@ -282,12 +282,10 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt) if (str && (!strcmp(str, "enabled"))) { elm_win_alpha_set(tt->tt_win, EINA_TRUE); - elm_win_transparent_set(tt->tt_win, EINA_TRUE); } else { elm_win_alpha_set(tt->tt_win, EINA_FALSE); - elm_win_transparent_set(tt->tt_win, EINA_FALSE); } }