remove deprecated code related with
authorjypark <jypark@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 12 Mar 2012 10:00:17 +0000 (10:00 +0000)
committerjypark <jypark@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 12 Mar 2012 10:00:17 +0000 (10:00 +0000)
elm_index_active_XXX
elm_index_item_append_relative
elm_index_item_append_relative
function.

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

doc/examples.dox
src/examples/index_example_01.c
src/examples/index_example_02.c
src/lib/elm_index.c
src/lib/elm_index.h

index 91a5d3e..9165a08 100644 (file)
  * data on the index widget.
  *
  * The first of the three buttons that follow will call
- * elm_index_active_set(), thus showing the index automatically for
+ * elm_index_autohide_disabled_set(), thus showing the index automatically for
  * you, if it's not already visible, what is checked with
- * elm_index_active_get(). The second button will exercise @b deletion
+ * elm_index_autohide_disabled_get(). The second button will exercise @b deletion
  * of index item objects, by the following code:
  * @dontinclude index_example_01.c
  * @skip delete an index item
index dc1018f..0c34df7 100644 (file)
@@ -76,7 +76,7 @@ _active_set(void        *data __UNUSED__,
             Evas_Object *obj __UNUSED__,
             void        *event_info __UNUSED__)
 {
-   elm_index_active_set(d.index, !elm_index_active_get(d.index));
+   elm_index_autohide_disabled_set(d.index, !elm_index_autohide_disabled_get(d.index));
 
    fprintf(stdout, "Toggling index programmatically.\n");
 }
index 5e2df84..efca941 100644 (file)
@@ -146,7 +146,7 @@ elm_main(int    argc __UNUSED__,
    evas_object_resize(win, 320, 300);
    evas_object_show(win);
 
-   elm_index_active_set(index, EINA_TRUE);
+   elm_index_autohide_disabled_set(index, EINA_FALSE);
 
    elm_run();
    return 0;
index 9576bdb..8c6967f 100644 (file)
@@ -640,18 +640,6 @@ elm_index_add(Evas_Object *parent)
    return obj;
 }
 
-EINA_DEPRECATED EAPI void
-elm_index_active_set(Evas_Object *obj, Eina_Bool active)
-{
-   elm_index_autohide_disabled_set(obj, !active);
-}
-
-EINA_DEPRECATED EAPI Eina_Bool
-elm_index_active_get(const Evas_Object *obj)
-{
-   return !elm_index_autohide_disabled_get(obj);
-}
-
 EAPI void
 elm_index_autohide_disabled_set(Evas_Object *obj, Eina_Bool disabled)
 {
@@ -774,12 +762,6 @@ elm_index_item_prepend(Evas_Object *obj, const char *letter, Evas_Smart_Cb func,
 }
 
 EINA_DEPRECATED EAPI Elm_Object_Item *
-elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const Elm_Object_Item *relative)
-{
-   return elm_index_item_insert_after(obj, (Elm_Object_Item *) relative, letter, NULL, item);
-}
-
-EINA_DEPRECATED EAPI Elm_Object_Item *
 elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const Elm_Object_Item *relative)
 {
    return elm_index_item_insert_before(obj, (Elm_Object_Item *) relative, letter, NULL, item);
index f9f5253..06e35f9 100644 (file)
@@ -80,7 +80,7 @@ EAPI void                  elm_index_autohide_disabled_set(Evas_Object *obj, Ein
  * @param obj The index object
  * @return @c EINA_TRUE, if auto hiding is disabled, @c EINA_FALSE otherwise
  *
- * @see elm_index_active_set() for more details
+ * @see elm_index_autohide_disabled_set() for more details
  *
  * @ingroup Index
  */