Object Items: remove last invocations to elm_widget_item_ APIs
This commit is contained in:
parent
f0ede508f8
commit
56bb6d71c2
|
@ -1089,7 +1089,7 @@ _on_text_activated(void *data,
|
|||
Elm_Object_Item *item = elm_genlist_first_item_get(sd->files_view);
|
||||
while (item)
|
||||
{
|
||||
const char *item_path = elm_widget_item_data_get(item);
|
||||
const char *item_path = eo_do((Eo *)item, elm_wdg_item_data_get());
|
||||
if (!strcmp(item_path, path))
|
||||
{
|
||||
elm_genlist_item_selected_set(item, EINA_TRUE);
|
||||
|
@ -1324,7 +1324,7 @@ _resource_deleted(void *data, int type EINA_UNUSED, void *ev)
|
|||
}
|
||||
}
|
||||
|
||||
if (it) elm_widget_item_del(it);
|
||||
if (it) eo_do((Eo *)it, elm_wdg_item_del());
|
||||
|
||||
if (selected)
|
||||
{
|
||||
|
|
|
@ -756,11 +756,11 @@ _elm_popup_item_elm_widget_item_part_content_unset(Eo *eo_it EINA_UNUSED, Elm_Po
|
|||
}
|
||||
|
||||
EOLIAN static void
|
||||
_elm_popup_item_elm_widget_item_disable(Eo *eo_it EINA_UNUSED, Elm_Popup_Item_Data *it)
|
||||
_elm_popup_item_elm_widget_item_disable(Eo *eo_it, Elm_Popup_Item_Data *it)
|
||||
{
|
||||
ELM_POPUP_ITEM_CHECK_OR_RETURN(it);
|
||||
|
||||
if (elm_widget_item_disabled_get(it))
|
||||
if (eo_do((Eo *)eo_it, elm_wdg_item_disabled_get()))
|
||||
elm_layout_signal_emit(VIEW(it), "elm,state,item,disabled", "elm");
|
||||
else
|
||||
elm_layout_signal_emit(VIEW(it), "elm,state,item,enabled", "elm");
|
||||
|
|
Loading…
Reference in New Issue