remove deprecated code related with
authorjypark <jypark@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 13 Mar 2012 01:51:46 +0000 (01:51 +0000)
committerjypark <jypark@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 13 Mar 2012 01:51:46 +0000 (01:51 +0000)
elm_index_item_selected_get
function.

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

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

index 9165a08..711a40b 100644 (file)
  * item pointed to by that index item. When one releases the mouse
  * button, the second callback takes place. There, we check that the
  * reported item data, on @c event_info, is the same reported by
- * elm_index_item_selected_get(), which gives the last selection's
+ * elm_index_selected_item_get(), which gives the last selection's
  * data on the index widget.
  *
  * The first of the three buttons that follow will call
index 0c34df7..1a49ae0 100644 (file)
@@ -50,7 +50,7 @@ _item_del(void        *data __UNUSED__,
           void        *event_info __UNUSED__)
 {
    Elm_Object_Item *iit;
-   Elm_Object_Item *lit = elm_index_item_selected_get(d.index, 0);
+   Elm_Object_Item *lit = elm_index_selected_item_get(d.index, 0);
 
    iit = elm_index_item_find(d.index, lit);
 
@@ -99,7 +99,7 @@ _index_selected(void        *data __UNUSED__,
 
    fprintf(stdout, "New index item selected. Comparing item reported"
                    " via callback with the selection returned by the API: "
-                   "%s.\n", lit == elm_index_item_selected_get(obj, 0) ? "OK" :
+                   "%s.\n", lit == elm_index_selected_item_get(obj, 0) ? "OK" :
            "FAIL, something went wrong");
 }
 
index cf5893c..98a7d58 100644 (file)
@@ -713,12 +713,6 @@ elm_index_item_selected_set(Elm_Object_Item *it, Eina_Bool selected)
 
 }
 
-EINA_DEPRECATED EAPI Elm_Object_Item *
-elm_index_item_selected_get(const Evas_Object *obj, int level)
-{
-   return elm_index_selected_item_get(obj, level);
-}
-
 EAPI Elm_Object_Item *
 elm_index_selected_item_get(const Evas_Object *obj, int level)
 {
index 06e35f9..01f1049 100644 (file)
@@ -125,7 +125,6 @@ EAPI int                   elm_index_item_level_get(const Evas_Object *obj);
  *
  * Selected items will be highlighted.
  *
- * @see elm_index_item_selected_get()
  * @see elm_index_selected_item_get()
  *
  * @ingroup Index