From: Shinwoo Kim Date: Wed, 22 May 2019 07:52:37 +0000 (+0900) Subject: elementary: remove deprecated API X-Git-Tag: submit/tizen/20190530.111225~144 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F28%2F206628%2F1;p=platform%2Fupstream%2Fefl.git elementary: remove deprecated API Following API was deprecated from 2.4. - elm_ctxpopup_direction_available_get (ACR-319) - elm_win_profiles_set (ACR-353) It is time to remove. This patch is related to ACR-1373. Change-Id: Ida5f59d9d0f6c7bb622c4541e1ee53dd8307c3c2 --- diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index dacccb8..b688c77 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -10560,18 +10560,6 @@ elm_win_active_win_orientation_get(Evas_Object *obj) return angle; } // -// TIZEN_ONLY(20160126) : add elm_win_profiles_set -EINA_DEPRECATED EAPI void -elm_win_profiles_set(Evas_Object *obj, const char **profiles, unsigned int num_profiles) -{ - ELM_WIN_DATA_GET_OR_RETURN(obj, sd); - - // TODO: may need to merge below eolian api - //_elm_win_available_profiles_set(obj, sd, profiles, num_profiles); - (void)profiles; - (void)num_profiles; -} -// ////////////////////////////////////////////////////////////////// // TIZEN_ONLY(20150722): added signal for aux_hint(auxiliary hint) diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c index cf29007..1627e54 100644 --- a/src/lib/elementary/elc_ctxpopup.c +++ b/src/lib/elementary/elc_ctxpopup.c @@ -1482,20 +1482,6 @@ _elm_ctxpopup_direction_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) return sd->dir; } -// TIZEN_ONLY(20160126): add direction available get function, it will be deprecated soon -EINA_DEPRECATED EAPI Eina_Bool -elm_ctxpopup_direction_available_get(Evas_Object *obj, Elm_Ctxpopup_Direction direction) -{ - ELM_CTXPOPUP_CHECK(obj) EINA_FALSE; - ELM_CTXPOPUP_DATA_GET(obj, sd); - - elm_layout_sizing_eval(obj); - - if (sd->dir == direction) return EINA_TRUE; - return EINA_FALSE; -} -// - EOLIAN static void _elm_ctxpopup_dismiss(Eo *obj, Elm_Ctxpopup_Data *sd) { diff --git a/src/lib/elementary/elm_deprecated.h b/src/lib/elementary/elm_deprecated.h index b3a6603..14176d0 100644 --- a/src/lib/elementary/elm_deprecated.h +++ b/src/lib/elementary/elm_deprecated.h @@ -1676,45 +1676,12 @@ EINA_DEPRECATED EAPI const char *elm_fileselector_entry_selected_get(const Evas_ 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); -/** - * @deprecated Deprecated since 5.5 - * @brief Get the direction priority of a ctxpopup. - * - * @param[in] obj The object. - * @param[in] direction The direction to check available to show ctxpopup. - * @return EINA_TRUE if object is available to show with @p direction. - * - * @ingroup Elm_Ctxpopup - * - * @if MOBILE @since_tizen 2.3 - * @elseif WEARABLE @since_tizen 2.3.1 - * @endif - */ -EINA_DEPRECATED EAPI Eina_Bool elm_ctxpopup_direction_available_get(Evas_Object *obj, Elm_Ctxpopup_Direction direction); - // elm_win /*TIZEN_ONLY(20171214): tizen need to change win type after win creating 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); -// TIZEN_ONLY(20160126) : add elm_win_profiles_set -/** - * @deprecated Deprecated since Tizen 5.5 - * @brief Sets the profile list of a window. - * - * @param[in] obj The window object - * @param[in] profiles The list of profile names - * @param[in] num_profiles The number of profile names - * - * @ingroup Elm_Win - * - * @if MOBILE @since_tizen 2.3 - * @elseif WEARABLE @since_tizen 2.3.1 - * @endif - */ -EINA_DEPRECATED EAPI void elm_win_profiles_set(Evas_Object *obj, const char **profiles, unsigned int num_profiles); -// // TIZEN_ONLY(20180824) : elm: keep deprecated API before it removed. /** * Unset the left content used for the panes.