summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-08-14 09:17:01 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-09-17 15:08:42 +0300
commit13c9671bdc6c5fb010ac7d95e1efb0657df6a3ff (patch)
treebdda858c4610e53f68d2861a27b6426ea69a7762
parentaca812bc3b8cc64c17546a6bca22224aebcca7af (diff)
Porting to Eo - Clean: Remove last invocations to elm_widget_item_ APIs
-rw-r--r--src/lib/elc_fileselector.c4
-rw-r--r--src/lib/elc_popup.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c
index 201345323..626dd072f 100644
--- a/src/lib/elc_fileselector.c
+++ b/src/lib/elc_fileselector.c
@@ -1098,7 +1098,7 @@ _on_text_activated(void *data,
1098 Elm_Object_Item *item = elm_genlist_first_item_get(sd->files_view); 1098 Elm_Object_Item *item = elm_genlist_first_item_get(sd->files_view);
1099 while (item) 1099 while (item)
1100 { 1100 {
1101 const char *item_path = elm_widget_item_data_get(item); 1101 const char *item_path = eo_do((Eo *)item, elm_wdg_item_data_get());
1102 if (!strcmp(item_path, path)) 1102 if (!strcmp(item_path, path))
1103 { 1103 {
1104 elm_genlist_item_selected_set(item, EINA_TRUE); 1104 elm_genlist_item_selected_set(item, EINA_TRUE);
@@ -1333,7 +1333,7 @@ _resource_deleted(void *data, int type EINA_UNUSED, void *ev)
1333 } 1333 }
1334 } 1334 }
1335 1335
1336 if (it) elm_widget_item_del(it); 1336 if (it) eo_do((Eo *)it, elm_wdg_item_del());
1337 1337
1338 if (selected) 1338 if (selected)
1339 { 1339 {
diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index f3ec354e1..d2b0b01a5 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -761,11 +761,11 @@ _elm_popup_item_elm_widget_item_part_content_unset(Eo *eo_it EINA_UNUSED, Elm_Po
761} 761}
762 762
763EOLIAN static void 763EOLIAN static void
764_elm_popup_item_elm_widget_item_disable(Eo *eo_it EINA_UNUSED, Elm_Popup_Item_Data *it) 764_elm_popup_item_elm_widget_item_disable(Eo *eo_it, Elm_Popup_Item_Data *it)
765{ 765{
766 ELM_POPUP_ITEM_CHECK_OR_RETURN(it); 766 ELM_POPUP_ITEM_CHECK_OR_RETURN(it);
767 767
768 if (elm_widget_item_disabled_get(it)) 768 if (eo_do((Eo *)eo_it, elm_wdg_item_disabled_get()))
769 elm_layout_signal_emit(VIEW(it), "elm,state,item,disabled", "elm"); 769 elm_layout_signal_emit(VIEW(it), "elm,state,item,disabled", "elm");
770 else 770 else
771 elm_layout_signal_emit(VIEW(it), "elm,state,item,enabled", "elm"); 771 elm_layout_signal_emit(VIEW(it), "elm,state,item,enabled", "elm");