elementary: remove deprecated API 18/208418/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Mon, 24 Jun 2019 06:22:00 +0000 (15:22 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Mon, 24 Jun 2019 06:22:00 +0000 (15:22 +0900)
The elm_ctxpopup_direction_available_get should have been removed by
commit 9d0e1d766c4485df85416d8c1c0ae77354cc8813

[Commit Details]
   - commit 9d0e1d766c4485df85416d8c1c0ae77354cc8813
   - Author: Shinwoo Kim <cinoo.kim@samsung.com>
   - Date:   Wed May 22 16:52:37 2019 +0900

       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: Ic5e073fcc54cdfa9d9089d74a4c0de94009bc62b

src/lib/elementary_tizen/elc_ctxpopup.c

index 900bb00..7df7660 100644 (file)
@@ -2523,18 +2523,6 @@ _elm_ctxpopup_direction_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd)
    return sd->dir;
 }
 
-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)
 {