forked from enlightenment/efl
remove deprecated code related with
elm_index_item_selected_get function. SVN revision: 69279
This commit is contained in:
parent
3bb55f6fd3
commit
588ddb272a
|
@ -3826,7 +3826,7 @@
|
||||||
* item pointed to by that index item. When one releases the mouse
|
* item pointed to by that index item. When one releases the mouse
|
||||||
* button, the second callback takes place. There, we check that the
|
* button, the second callback takes place. There, we check that the
|
||||||
* reported item data, on @c event_info, is the same reported by
|
* 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.
|
* data on the index widget.
|
||||||
*
|
*
|
||||||
* The first of the three buttons that follow will call
|
* The first of the three buttons that follow will call
|
||||||
|
|
|
@ -50,7 +50,7 @@ _item_del(void *data __UNUSED__,
|
||||||
void *event_info __UNUSED__)
|
void *event_info __UNUSED__)
|
||||||
{
|
{
|
||||||
Elm_Object_Item *iit;
|
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);
|
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"
|
fprintf(stdout, "New index item selected. Comparing item reported"
|
||||||
" via callback with the selection returned by the API: "
|
" 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");
|
"FAIL, something went wrong");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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 *
|
EAPI Elm_Object_Item *
|
||||||
elm_index_selected_item_get(const Evas_Object *obj, int level)
|
elm_index_selected_item_get(const Evas_Object *obj, int level)
|
||||||
{
|
{
|
||||||
|
|
|
@ -125,7 +125,6 @@ EAPI int elm_index_item_level_get(const Evas_Object *obj);
|
||||||
*
|
*
|
||||||
* Selected items will be highlighted.
|
* Selected items will be highlighted.
|
||||||
*
|
*
|
||||||
* @see elm_index_item_selected_get()
|
|
||||||
* @see elm_index_selected_item_get()
|
* @see elm_index_selected_item_get()
|
||||||
*
|
*
|
||||||
* @ingroup Index
|
* @ingroup Index
|
||||||
|
|
Loading…
Reference in New Issue