forked from enlightenment/efl
remove deprecated code related with
elm_multibuttonentry_shrink_mode_get/set elm_multibuttonentry_guide_text_get/set function. SVN revision: 69243
This commit is contained in:
parent
ee938a94fd
commit
df7de15c06
|
@ -1456,37 +1456,6 @@ elm_multibuttonentry_entry_get(const Evas_Object *obj)
|
|||
return wd->entry;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI const char *
|
||||
elm_multibuttonentry_guide_text_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
|
||||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
|
||||
if (!wd) return NULL;
|
||||
if (wd->guidetext) return edje_object_part_text_get(wd->guidetext, "elm.text");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
elm_multibuttonentry_guide_text_set(Evas_Object *obj, const char *guidetext)
|
||||
{
|
||||
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
|
||||
if (!wd) return;
|
||||
|
||||
_set_guidetext(obj, guidetext);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI int
|
||||
elm_multibuttonentry_shrink_mode_get(const Evas_Object *obj)
|
||||
{
|
||||
if (elm_multibuttonentry_expanded_get(obj))
|
||||
return 0;
|
||||
else
|
||||
return 1;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
elm_multibuttonentry_expanded_get(const Evas_Object *obj)
|
||||
{
|
||||
|
@ -1498,16 +1467,6 @@ elm_multibuttonentry_expanded_get(const Evas_Object *obj)
|
|||
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
elm_multibuttonentry_shrink_mode_set(Evas_Object *obj, int shrink)
|
||||
{
|
||||
if (shrink == 0)
|
||||
elm_multibuttonentry_expanded_set(obj, EINA_TRUE);
|
||||
|
||||
if (shrink == 1)
|
||||
elm_multibuttonentry_expanded_set(obj, EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_multibuttonentry_expanded_set(Evas_Object *obj, Eina_Bool expanded)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue