summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_ctxpopup.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-10 15:23:04 +0100
committerTom Hacohen <tom@stosb.com>2016-08-11 17:04:43 +0100
commitc662934be8bcbaba60d1688e77533acbea5d09b9 (patch)
tree8e12b5ffd083024f09b7ec7fa9f979113056fb9d /src/lib/elementary/elc_ctxpopup.c
parente64e120a51972c44fb8cae88a78bb4aa34f502c7 (diff)
Change the EFL to follow the new Eo rename.
Diffstat (limited to 'src/lib/elementary/elc_ctxpopup.c')
-rw-r--r--src/lib/elementary/elc_ctxpopup.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c
index 29cc142..4955270 100644
--- a/src/lib/elementary/elc_ctxpopup.c
+++ b/src/lib/elementary/elc_ctxpopup.c
@@ -670,7 +670,7 @@ _elm_ctxpopup_elm_layout_sizing_eval(Eo *obj, Elm_Ctxpopup_Data *sd)
670 670
671 _show_signals_emit(obj, sd->dir); 671 _show_signals_emit(obj, sd->dir);
672 672
673 eo_event_callback_call(obj, ELM_CTXPOPUP_EVENT_GEOMETRY_UPDATE, &rect); 673 efl_event_callback_call(obj, ELM_CTXPOPUP_EVENT_GEOMETRY_UPDATE, &rect);
674} 674}
675 675
676static void 676static void
@@ -708,7 +708,7 @@ _on_parent_resize(void *data,
708 sd->dir = ELM_CTXPOPUP_DIRECTION_UNKNOWN; 708 sd->dir = ELM_CTXPOPUP_DIRECTION_UNKNOWN;
709 709
710 evas_object_hide(data); 710 evas_object_hide(data);
711 eo_event_callback_call(data, ELM_CTXPOPUP_EVENT_DISMISSED, NULL); 711 efl_event_callback_call(data, ELM_CTXPOPUP_EVENT_DISMISSED, NULL);
712 } 712 }
713 else 713 else
714 { 714 {
@@ -1011,7 +1011,7 @@ _hide_finished_cb(void *data,
1011 const char *source EINA_UNUSED) 1011 const char *source EINA_UNUSED)
1012{ 1012{
1013 evas_object_hide(data); 1013 evas_object_hide(data);
1014 eo_event_callback_call(data, ELM_CTXPOPUP_EVENT_DISMISSED, NULL); 1014 efl_event_callback_call(data, ELM_CTXPOPUP_EVENT_DISMISSED, NULL);
1015} 1015}
1016 1016
1017static void 1017static void
@@ -1037,7 +1037,7 @@ _list_del(Elm_Ctxpopup_Data *sd)
1037} 1037}
1038 1038
1039EOLIAN static void 1039EOLIAN static void
1040_elm_ctxpopup_item_eo_base_destructor(Eo *eo_ctxpopup_it, 1040_elm_ctxpopup_item_efl_object_destructor(Eo *eo_ctxpopup_it,
1041 Elm_Ctxpopup_Item_Data *ctxpopup_it) 1041 Elm_Ctxpopup_Item_Data *ctxpopup_it)
1042{ 1042{
1043 Evas_Object *list; 1043 Evas_Object *list;
@@ -1060,7 +1060,7 @@ _elm_ctxpopup_item_eo_base_destructor(Eo *eo_ctxpopup_it,
1060 if (sd->list_visible) elm_layout_sizing_eval(WIDGET(ctxpopup_it)); 1060 if (sd->list_visible) elm_layout_sizing_eval(WIDGET(ctxpopup_it));
1061 } 1061 }
1062 1062
1063 eo_destructor(eo_super(eo_ctxpopup_it, ELM_CTXPOPUP_ITEM_CLASS)); 1063 efl_destructor(eo_super(eo_ctxpopup_it, ELM_CTXPOPUP_ITEM_CLASS));
1064} 1064}
1065 1065
1066EOLIAN static Eina_Bool 1066EOLIAN static Eina_Bool
@@ -1147,7 +1147,7 @@ _elm_ctxpopup_efl_canvas_group_group_del(Eo *obj, Elm_Ctxpopup_Data *sd)
1147 ELM_SAFE_FREE(sd->bg, evas_object_del); 1147 ELM_SAFE_FREE(sd->bg, evas_object_del);
1148 1148
1149 EINA_LIST_FREE(sd->items, it) 1149 EINA_LIST_FREE(sd->items, it)
1150 eo_del(it); 1150 efl_del(it);
1151 1151
1152 efl_canvas_group_del(eo_super(obj, MY_CLASS)); 1152 efl_canvas_group_del(eo_super(obj, MY_CLASS));
1153} 1153}
@@ -1174,9 +1174,9 @@ elm_ctxpopup_add(Evas_Object *parent)
1174} 1174}
1175 1175
1176EOLIAN static Eo * 1176EOLIAN static Eo *
1177_elm_ctxpopup_eo_base_constructor(Eo *obj, Elm_Ctxpopup_Data *_pd EINA_UNUSED) 1177_elm_ctxpopup_efl_object_constructor(Eo *obj, Elm_Ctxpopup_Data *_pd EINA_UNUSED)
1178{ 1178{
1179 obj = eo_constructor(eo_super(obj, MY_CLASS)); 1179 obj = efl_constructor(eo_super(obj, MY_CLASS));
1180 efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY); 1180 efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY);
1181 evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks); 1181 evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks);
1182 elm_interface_atspi_accessible_role_set(obj, ELM_ATSPI_ROLE_POPUP_MENU); 1182 elm_interface_atspi_accessible_role_set(obj, ELM_ATSPI_ROLE_POPUP_MENU);
@@ -1248,9 +1248,9 @@ _item_wrap_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UN
1248} 1248}
1249 1249
1250EOLIAN static Eo * 1250EOLIAN static Eo *
1251_elm_ctxpopup_item_eo_base_constructor(Eo *obj, Elm_Ctxpopup_Item_Data *it) 1251_elm_ctxpopup_item_efl_object_constructor(Eo *obj, Elm_Ctxpopup_Item_Data *it)
1252{ 1252{
1253 obj = eo_constructor(eo_super(obj, ELM_CTXPOPUP_ITEM_CLASS)); 1253 obj = efl_constructor(eo_super(obj, ELM_CTXPOPUP_ITEM_CLASS));
1254 it->base = eo_data_scope_get(obj, ELM_WIDGET_ITEM_CLASS); 1254 it->base = eo_data_scope_get(obj, ELM_WIDGET_ITEM_CLASS);
1255 1255
1256 return obj; 1256 return obj;
@@ -1322,7 +1322,7 @@ _elm_ctxpopup_auto_hide_disabled_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd)
1322} 1322}
1323 1323
1324EOLIAN static void 1324EOLIAN static void
1325_elm_ctxpopup_class_constructor(Eo_Class *klass) 1325_elm_ctxpopup_class_constructor(Efl_Class *klass)
1326{ 1326{
1327 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass); 1327 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass);
1328} 1328}
@@ -1406,7 +1406,7 @@ _elm_ctxpopup_item_init(Eo *eo_item,
1406 const void *data) 1406 const void *data)
1407{ 1407{
1408 Eo *obj; 1408 Eo *obj;
1409 obj = eo_parent_get(eo_item); 1409 obj = efl_parent_get(eo_item);
1410 Elm_Ctxpopup_Data *sd = eo_data_scope_get(obj, ELM_CTXPOPUP_CLASS); 1410 Elm_Ctxpopup_Data *sd = eo_data_scope_get(obj, ELM_CTXPOPUP_CLASS);
1411 if (!sd->list) 1411 if (!sd->list)
1412 { 1412 {