remove deprecated code related with

elm_calendar_day_selection_enabled_set/get
function.


SVN revision: 69229
This commit is contained in:
Jiyoun Park 2012-03-12 08:12:49 +00:00
parent df6fd62d9f
commit 91ecbfb917
3 changed files with 3 additions and 15 deletions

View File

@ -1228,7 +1228,7 @@
* If isn't required that users could select a day on calendar,
* only interacting going through months, disabling days selection
* could be a good idea to avoid confusion. For that:
* @skipline elm_calendar_day_selection_enabled_set
* @skipline elm_calendar_day_selection_disabled_set
*
* Also, regarding days selection, you could be interested to set a
* date to be highlighted on calendar from your code, maybe when
@ -1329,7 +1329,7 @@
* Periodicity is how frequently the mark will be displayed over the
* calendar. Can be a unique mark (that don't repeat), or it can repeat
* daily, weekly, monthly or annually. It's enumerated by
* @c Elm_Calendar_Mark_Repeat.
* @c Elm_Calendar_Mark_Repeat_Type.
*
* So let's add some marks to our calendar. We will add christmas holiday,
* set Sundays as holidays, and check current day and day after that.

View File

@ -43,7 +43,7 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
cal = elm_calendar_add(win);
evas_object_size_hint_weight_set(cal, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(cal, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_calendar_day_selection_enabled_set(cal, EINA_FALSE);
elm_calendar_day_selection_disabled_set(cal, EINA_TRUE);
evas_object_show(cal);
elm_box_pack_end(bx, cal);

View File

@ -858,12 +858,6 @@ elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max)
if (max) *max = wd->year_max + 1900;
}
EINA_DEPRECATED EAPI void
elm_calendar_day_selection_enabled_set(Evas_Object *obj, Eina_Bool enabled)
{
elm_calendar_day_selection_disabled_set(obj, !enabled);
}
EAPI void
elm_calendar_day_selection_disabled_set(Evas_Object *obj, Eina_Bool disabled)
{
@ -877,12 +871,6 @@ elm_calendar_day_selection_disabled_set(Evas_Object *obj, Eina_Bool disabled)
_unselect(wd, wd->selected_it);
}
EINA_DEPRECATED EAPI Eina_Bool
elm_calendar_day_selection_enabled_get(const Evas_Object *obj)
{
return (!elm_calendar_day_selection_disabled_get(obj));
}
EAPI Eina_Bool
elm_calendar_day_selection_disabled_get(const Evas_Object *obj)
{