diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c index d3651d97c7..74c41e9a3c 100644 --- a/legacy/elementary/src/lib/elm_genlist.c +++ b/legacy/elementary/src/lib/elm_genlist.c @@ -114,6 +114,13 @@ struct _Item_Cache Eina_Bool expanded : 1; // it->item->expanded }; +typedef enum +{ + ELM_GENLIST_TREE_EFFECT_NONE = 0, + ELM_GENLIST_TREE_EFFECT_EXPAND = 1, + ELM_GENLIST_TREE_EFFECT_CONTRACT = 2 +} Elm_Genlist_Item_Move_Effect_Mode; + static const char *widtype = NULL; static void _item_cache_zero(Widget_Data *wd); static void _del_hook(Evas_Object *obj); diff --git a/legacy/elementary/src/lib/elm_genlist.h b/legacy/elementary/src/lib/elm_genlist.h index 6a3050222c..fe568b4d25 100644 --- a/legacy/elementary/src/lib/elm_genlist.h +++ b/legacy/elementary/src/lib/elm_genlist.h @@ -392,13 +392,6 @@ typedef enum ELM_GENLIST_ITEM_SCROLLTO_MIDDLE = (1 << 2) /**< to the middle of viewport */ } Elm_Genlist_Item_Scrollto_Type; -typedef enum -{ - ELM_GENLIST_TREE_EFFECT_NONE = 0, - ELM_GENLIST_TREE_EFFECT_EXPAND = 1, - ELM_GENLIST_TREE_EFFECT_CONTRACT = 2 -} Elm_Genlist_Item_Move_Effect_Mode; - /** * @see Elm_Gen_Item_Class */