remove deprecated code related with
authorjypark <jypark@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 12 Mar 2012 08:12:49 +0000 (08:12 +0000)
committerjypark <jypark@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 12 Mar 2012 08:12:49 +0000 (08:12 +0000)
elm_calendar_day_selection_enabled_set/get
function.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69229 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

doc/examples.dox
src/examples/calendar_example_04.c
src/lib/elm_calendar.c

index 05c65bc..91a5d3e 100644 (file)
  * 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
  * 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.
index 8754212..7221557 100644 (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);
 
index 040d156..482e384 100644 (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)
 {