aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.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/efl_ui_win.c
parentEo: Rename most of Eo to the Efl prefix. (diff)
downloadefl-c662934be8bcbaba60d1688e77533acbea5d09b9.tar.gz
Change the EFL to follow the new Eo rename.
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c148
1 files changed, 74 insertions, 74 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index be5de246a2..5560e5f18d 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -65,7 +65,7 @@ static const Elm_Win_Trap *trap = NULL;
{ \
edje_object_signal_emit(cursd->edje, \
"elm,action,hide_blocker", "elm"); \
- eo_event_callback_call(cursd->main_menu, ELM_MENU_EVENT_ELM_ACTION_UNBLOCK_MENU, NULL); \
+ efl_event_callback_call(cursd->main_menu, ELM_MENU_EVENT_ELM_ACTION_UNBLOCK_MENU, NULL); \
} \
}
@@ -81,7 +81,7 @@ static const Elm_Win_Trap *trap = NULL;
{ \
edje_object_signal_emit(cursd->edje, \
"elm,action,show_blocker", "elm"); \
- eo_event_callback_call(cursd->main_menu, EFL_UI_WIN_EVENT_ELM_ACTION_BLOCK_MENU, NULL); \
+ efl_event_callback_call(cursd->main_menu, EFL_UI_WIN_EVENT_ELM_ACTION_BLOCK_MENU, NULL); \
} \
}
@@ -840,7 +840,7 @@ _elm_win_move(Ecore_Evas *ee)
ecore_evas_geometry_get(ee, &x, &y, NULL, NULL);
sd->screen.x = x;
sd->screen.y = y;
- eo_event_callback_call(sd->obj, EFL_GFX_EVENT_MOVE, NULL);
+ efl_event_callback_call(sd->obj, EFL_GFX_EVENT_MOVE, NULL);
evas_nochange_push(evas_object_evas_get(sd->obj));
sd->response++;
evas_object_move(sd->obj, x, y);
@@ -1290,7 +1290,7 @@ _elm_win_profile_update(Efl_Ui_Win_Data *sd)
EINA_LIST_FOREACH(sub, l, ee2)
ecore_evas_window_profile_set(ee2, sd->profile.name);
- eo_event_callback_call(sd->obj, EFL_UI_WIN_EVENT_PROFILE_CHANGED, NULL);
+ efl_event_callback_call(sd->obj, EFL_UI_WIN_EVENT_PROFILE_CHANGED, NULL);
}
#ifdef HAVE_ELEMENTARY_WL2
@@ -1443,16 +1443,16 @@ _elm_win_state_change(Ecore_Evas *ee)
if ((ch_withdrawn) || (ch_iconified))
{
if (sd->withdrawn)
- eo_event_callback_call(obj, EFL_UI_WIN_EVENT_WITHDRAWN, NULL);
+ efl_event_callback_call(obj, EFL_UI_WIN_EVENT_WITHDRAWN, NULL);
else if (sd->iconified)
{
- eo_event_callback_call(obj, EFL_UI_WIN_EVENT_ICONIFIED, NULL);
+ efl_event_callback_call(obj, EFL_UI_WIN_EVENT_ICONIFIED, NULL);
if (_elm_config->atspi_mode)
elm_interface_atspi_window_minimized_signal_emit(obj);
}
else
{
- eo_event_callback_call(obj, EFL_UI_WIN_EVENT_NORMAL, NULL);
+ efl_event_callback_call(obj, EFL_UI_WIN_EVENT_NORMAL, NULL);
if (_elm_config->atspi_mode)
elm_interface_atspi_window_restored_signal_emit(obj);
}
@@ -1460,9 +1460,9 @@ _elm_win_state_change(Ecore_Evas *ee)
if (ch_sticky)
{
if (sd->sticky)
- eo_event_callback_call(obj, EFL_UI_WIN_EVENT_STICK, NULL);
+ efl_event_callback_call(obj, EFL_UI_WIN_EVENT_STICK, NULL);
else
- eo_event_callback_call(obj, EFL_UI_WIN_EVENT_UNSTICK, NULL);
+ efl_event_callback_call(obj, EFL_UI_WIN_EVENT_UNSTICK, NULL);
}
if (ch_fullscreen)
{
@@ -1486,7 +1486,7 @@ _elm_win_state_change(Ecore_Evas *ee)
if (need_frame)
sd->wl.opaque_dirty = 1;
#endif
- eo_event_callback_call
+ efl_event_callback_call
(obj, EFL_UI_WIN_EVENT_FULLSCREEN, NULL);
}
else
@@ -1498,7 +1498,7 @@ _elm_win_state_change(Ecore_Evas *ee)
_elm_win_frame_obj_update(sd);
}
#endif
- eo_event_callback_call
+ efl_event_callback_call
(obj, EFL_UI_WIN_EVENT_UNFULLSCREEN, NULL);
}
}
@@ -1506,13 +1506,13 @@ _elm_win_state_change(Ecore_Evas *ee)
{
if (sd->maximized)
{
- eo_event_callback_call(obj, EFL_UI_WIN_EVENT_MAXIMIZED, NULL);
+ efl_event_callback_call(obj, EFL_UI_WIN_EVENT_MAXIMIZED, NULL);
if (_elm_config->atspi_mode)
elm_interface_atspi_window_maximized_signal_emit(obj);
}
else
{
- eo_event_callback_call(obj, EFL_UI_WIN_EVENT_UNMAXIMIZED, NULL);
+ efl_event_callback_call(obj, EFL_UI_WIN_EVENT_UNMAXIMIZED, NULL);
if (_elm_config->atspi_mode)
elm_interface_atspi_window_restored_signal_emit(obj);
}
@@ -1531,9 +1531,9 @@ _elm_win_state_change(Ecore_Evas *ee)
_elm_win_xwin_update(sd);
#endif
elm_widget_orientation_set(obj, sd->rot);
- eo_event_callback_call
+ efl_event_callback_call
(obj, EFL_UI_WIN_EVENT_ROTATION_CHANGED, NULL);
- eo_event_callback_call
+ efl_event_callback_call
(obj, EFL_UI_WIN_EVENT_WM_ROTATION_CHANGED, NULL);
}
}
@@ -1675,7 +1675,7 @@ _evas_event_key_cb(void *data, const Eo_Event *ev)
if (evas_focus_get(evas_object_evas_get(win)) == win)
return;
- eo_event_callback_call(win, ev->desc, evt);
+ efl_event_callback_call(win, ev->desc, evt);
}
static void
@@ -1689,7 +1689,7 @@ _evas_event_pointer_cb(void *data, const Eo_Event *ev)
if (!evdata || evdata->win_fed)
return;
- eo_event_callback_call(win, ev->desc, evt);
+ efl_event_callback_call(win, ev->desc, evt);
}
/* feed events from the window to evas - for fake inputs */
@@ -1708,7 +1708,7 @@ _evas_event_key_feed_fake_cb(void *data, const Eo_Event *ev)
return;
evdata->win_fed = EINA_TRUE;
- eo_event_callback_call(evas, ev->desc, evt);
+ efl_event_callback_call(evas, ev->desc, evt);
evdata->win_fed = EINA_FALSE;
evdata->evas_done = EINA_FALSE;
}
@@ -1728,7 +1728,7 @@ _evas_event_pointer_feed_fake_cb(void *data, const Eo_Event *ev)
return;
evdata->win_fed = EINA_TRUE;
- eo_event_callback_call(evas, ev->desc, evt);
+ efl_event_callback_call(evas, ev->desc, evt);
evdata->win_fed = EINA_FALSE;
evdata->evas_done = EINA_FALSE;
}
@@ -1753,7 +1753,7 @@ _elm_win_evas_render_post(void *data,
Efl_Gfx_Event_Render_Post *ev = event_info;
Eo *win = data;
- eo_event_callback_call(win, EFL_CANVAS_EVENT_RENDER_POST, ev);
+ efl_event_callback_call(win, EFL_CANVAS_EVENT_RENDER_POST, ev);
}
static void
@@ -1765,7 +1765,7 @@ _elm_win_evas_render_pre(void *data,
Eo *win = data;
_elm_win_throttle_ok = EINA_TRUE;
- eo_event_callback_call(win, EFL_CANVAS_EVENT_RENDER_PRE, NULL);
+ efl_event_callback_call(win, EFL_CANVAS_EVENT_RENDER_PRE, NULL);
}
static void
@@ -1777,7 +1777,7 @@ _elm_win_evas_focus_in(void *data,
Eo *win = data;
_elm_win_throttle_ok = EINA_TRUE;
- eo_event_callback_call(win, EFL_CANVAS_EVENT_FOCUS_IN, NULL);
+ efl_event_callback_call(win, EFL_CANVAS_EVENT_FOCUS_IN, NULL);
}
static void
@@ -1788,7 +1788,7 @@ _elm_win_evas_focus_out(void *data,
{
Eo *win = data;
- eo_event_callback_call(win, EFL_CANVAS_EVENT_FOCUS_OUT, NULL);
+ efl_event_callback_call(win, EFL_CANVAS_EVENT_FOCUS_OUT, NULL);
}
static void
@@ -1801,7 +1801,7 @@ _elm_win_evas_object_focus_in(void *data,
Eo *win = data;
_elm_win_throttle_ok = EINA_TRUE;
- eo_event_callback_call(win, EFL_CANVAS_EVENT_OBJECT_FOCUS_IN, object);
+ efl_event_callback_call(win, EFL_CANVAS_EVENT_OBJECT_FOCUS_IN, object);
}
static void
@@ -1813,7 +1813,7 @@ _elm_win_evas_object_focus_out(void *data,
Eo *object = event_info;
Eo *win = data;
- eo_event_callback_call(win, EFL_CANVAS_EVENT_OBJECT_FOCUS_OUT, object);
+ efl_event_callback_call(win, EFL_CANVAS_EVENT_OBJECT_FOCUS_OUT, object);
}
static void
@@ -1825,13 +1825,13 @@ _elm_win_evas_device_changed(void *data,
Eo *device = event_info;
Eo *win = data;
- eo_event_callback_call(win, EFL_CANVAS_EVENT_DEVICE_CHANGED, device);
+ efl_event_callback_call(win, EFL_CANVAS_EVENT_DEVICE_CHANGED, device);
}
static void
_win_event_add_cb(void *data, const Eo_Event *ev)
{
- const Eo_Callback_Array_Item *array = ev->info;
+ const Efl_Callback_Array_Item *array = ev->info;
Efl_Ui_Win_Data *sd = data;
Efl_Ui_Win *win = ev->object;
int i;
@@ -1841,55 +1841,55 @@ _win_event_add_cb(void *data, const Eo_Event *ev)
if (ev->info == EFL_EVENT_POINTER_MOVE)
{
if (!(sd->event_forward.pointer_move++))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_POINTER_DOWN)
{
if (!(sd->event_forward.pointer_down++))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_POINTER_UP)
{
if (!(sd->event_forward.pointer_up++))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_POINTER_IN)
{
if (!(sd->event_forward.pointer_in++))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_POINTER_OUT)
{
if (!(sd->event_forward.pointer_out++))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_POINTER_CANCEL)
{
if (!(sd->event_forward.pointer_cancel++))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_POINTER_WHEEL)
{
if (!(sd->event_forward.pointer_wheel++))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_KEY_DOWN)
{
if (!(sd->event_forward.key_down++))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_key_cb, win);
}
else if (ev->info == EFL_EVENT_KEY_UP)
{
if (!(sd->event_forward.key_up++))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_key_cb, win);
}
else if (ev->info == EFL_CANVAS_EVENT_RENDER_POST)
@@ -1940,7 +1940,7 @@ _win_event_add_cb(void *data, const Eo_Event *ev)
static void
_win_event_del_cb(void *data, const Eo_Event *ev)
{
- const Eo_Callback_Array_Item *array = ev->info;
+ const Efl_Callback_Array_Item *array = ev->info;
Efl_Ui_Win_Data *sd = data;
Efl_Ui_Win *win = ev->object;
int i;
@@ -1950,55 +1950,55 @@ _win_event_del_cb(void *data, const Eo_Event *ev)
if (ev->info == EFL_EVENT_POINTER_MOVE)
{
if (!(--sd->event_forward.pointer_move))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_POINTER_DOWN)
{
if (!(--sd->event_forward.pointer_down))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_POINTER_UP)
{
if (!(--sd->event_forward.pointer_up))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_POINTER_IN)
{
if (!(--sd->event_forward.pointer_in))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_POINTER_OUT)
{
if (!(--sd->event_forward.pointer_out))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_POINTER_CANCEL)
{
if (!(--sd->event_forward.pointer_cancel))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_POINTER_WHEEL)
{
if (!(--sd->event_forward.pointer_wheel))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_pointer_cb, win);
}
else if (ev->info == EFL_EVENT_KEY_DOWN)
{
if (!(--sd->event_forward.key_down))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_key_cb, win);
}
else if (ev->info == EFL_EVENT_KEY_UP)
{
if (!(--sd->event_forward.key_up))
- eo_event_callback_add(sd->evas, array[i].desc,
+ efl_event_callback_add(sd->evas, array[i].desc,
_evas_event_key_cb, win);
}
else if (ev->info == EFL_CANVAS_EVENT_RENDER_POST)
@@ -2446,9 +2446,9 @@ _efl_ui_win_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Win_Data *sd)
_elm_win_on_resize_obj_changed_size_hints,
obj);
- eo_event_callback_del(obj, EO_EVENT_CALLBACK_ADD, _win_event_add_cb, sd);
- eo_event_callback_del(obj, EO_EVENT_CALLBACK_DEL, _win_event_del_cb, sd);
- eo_event_callback_array_del(obj, _elm_win_evas_feed_fake_callbacks(), sd->evas);
+ efl_event_callback_del(obj, EFL_EVENT_CALLBACK_ADD, _win_event_add_cb, sd);
+ efl_event_callback_del(obj, EFL_EVENT_CALLBACK_DEL, _win_event_del_cb, sd);
+ efl_event_callback_array_del(obj, _elm_win_evas_feed_fake_callbacks(), sd->evas);
evas_object_del(sd->box);
evas_object_del(sd->edje);
@@ -2591,7 +2591,7 @@ _efl_ui_win_efl_canvas_group_group_move(Eo *obj, Efl_Ui_Win_Data *sd, Evas_Coord
{
sd->screen.x = x;
sd->screen.y = y;
- eo_event_callback_call(obj, EFL_GFX_EVENT_MOVE, NULL);
+ efl_event_callback_call(obj, EFL_GFX_EVENT_MOVE, NULL);
}
return;
}
@@ -2607,7 +2607,7 @@ _efl_ui_win_efl_canvas_group_group_move(Eo *obj, Efl_Ui_Win_Data *sd, Evas_Coord
{
sd->screen.x = x;
sd->screen.y = y;
- eo_event_callback_call(obj, EFL_GFX_EVENT_MOVE, NULL);
+ efl_event_callback_call(obj, EFL_GFX_EVENT_MOVE, NULL);
}
if (sd->frame_obj)
{
@@ -2661,7 +2661,7 @@ _elm_win_delete_request(Ecore_Evas *ee)
int autodel = sd->autodel;
sd->autodel_clear = &autodel;
evas_object_ref(obj);
- eo_event_callback_call(obj, EFL_UI_WIN_EVENT_DELETE_REQUEST, NULL);
+ efl_event_callback_call(obj, EFL_UI_WIN_EVENT_DELETE_REQUEST, NULL);
if (sd->autohide)
evas_object_hide(obj);
// FIXME: if above callback deletes - then the below will be invalid
@@ -3225,7 +3225,7 @@ _elm_win_property_change(void *data,
if (e->win == sd->x.xwin)
{
sd->indmode = (Elm_Win_Indicator_Mode)ecore_x_e_illume_indicator_state_get(e->win);
- eo_event_callback_call
+ efl_event_callback_call
(sd->obj, EFL_UI_WIN_EVENT_INDICATOR_PROP_CHANGED, NULL);
}
}
@@ -3586,7 +3586,7 @@ _elm_win_frame_cb_close(void *data,
int autodel = sd->autodel;
sd->autodel_clear = &autodel;
evas_object_ref(win);
- eo_event_callback_call(win, EFL_UI_WIN_EVENT_DELETE_REQUEST, NULL);
+ efl_event_callback_call(win, EFL_UI_WIN_EVENT_DELETE_REQUEST, NULL);
if (sd->autohide)
evas_object_hide(win);
// FIXME: if above callback deletes - then the below will be invalid
@@ -3838,7 +3838,7 @@ _elm_x_io_err(void *data EINA_UNUSED)
Evas_Object *obj;
EINA_LIST_FOREACH(_elm_win_list, l, obj)
- eo_event_callback_call(obj, EFL_UI_WIN_EVENT_IOERR, NULL);
+ efl_event_callback_call(obj, EFL_UI_WIN_EVENT_IOERR, NULL);
elm_exit();
}
#endif
@@ -3976,7 +3976,7 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, const char *name, Elm_W
Efl_Ui_Win_Data tmp_sd;
- parent = eo_parent_get(obj);
+ parent = efl_parent_get(obj);
/* just to store some data while trying out to create a canvas */
memset(&tmp_sd, 0, sizeof(Efl_Ui_Win_Data));
@@ -4322,9 +4322,9 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, const char *name, Elm_W
if (!sd->accel_pref)
eina_stringshare_replace(&sd->accel_pref, elm_config_accel_preference_get());
- eo_parent_set(obj, ecore_evas_get(tmp_sd.ee));
+ efl_parent_set(obj, ecore_evas_get(tmp_sd.ee));
- eo_constructor(eo_super(obj, MY_CLASS));
+ efl_constructor(eo_super(obj, MY_CLASS));
efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY);
evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks);
@@ -4576,11 +4576,11 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, const char *name, Elm_W
elm_interface_atspi_window_created_signal_emit(obj);
// attach config API
- eo_composite_attach(obj, eo_provider_find(ecore_main_loop_get(), EFL_CONFIG_GLOBAL_CLASS));
+ efl_composite_attach(obj, efl_provider_find(ecore_main_loop_get(), EFL_CONFIG_GLOBAL_CLASS));
- eo_event_callback_array_add(obj, _elm_win_evas_feed_fake_callbacks(), sd->evas);
- eo_event_callback_add(obj, EO_EVENT_CALLBACK_ADD, _win_event_add_cb, sd);
- eo_event_callback_add(obj, EO_EVENT_CALLBACK_DEL, _win_event_del_cb, sd);
+ efl_event_callback_array_add(obj, _elm_win_evas_feed_fake_callbacks(), sd->evas);
+ efl_event_callback_add(obj, EFL_EVENT_CALLBACK_ADD, _win_event_add_cb, sd);
+ efl_event_callback_add(obj, EFL_EVENT_CALLBACK_DEL, _win_event_del_cb, sd);
evas_object_show(sd->edje);
@@ -4593,18 +4593,18 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, const char *name, Elm_W
}
EOLIAN static Eo *
-_efl_ui_win_eo_base_finalize(Eo *obj, Efl_Ui_Win_Data *_pd)
+_efl_ui_win_efl_object_finalize(Eo *obj, Efl_Ui_Win_Data *_pd)
{
obj = _elm_win_finalize_internal(obj, _pd, _pd->name, _pd->type);
if (obj)
{
- obj = eo_finalize(eo_super(obj, MY_CLASS));
+ obj = efl_finalize(eo_super(obj, MY_CLASS));
}
return obj;
}
EOLIAN static Eo *
-_efl_ui_win_eo_base_constructor(Eo *obj, Efl_Ui_Win_Data *_pd EINA_UNUSED)
+_efl_ui_win_efl_object_constructor(Eo *obj, Efl_Ui_Win_Data *_pd EINA_UNUSED)
{
/* Do nothing. */
/* XXX: We are calling the constructor chain from the finalizer. It's
@@ -4634,7 +4634,7 @@ _efl_ui_win_efl_text_text_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
EOLIAN static void
_efl_ui_win_type_set(Eo *obj, Efl_Ui_Win_Data *sd, Elm_Win_Type type)
{
- if (eo_finalized_get(obj))
+ if (efl_finalized_get(obj))
{
ERR("This function is only allowed during construction.");
return;
@@ -4651,7 +4651,7 @@ _efl_ui_win_type_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
EOLIAN static void
_efl_ui_win_name_set(Eo *obj, Efl_Ui_Win_Data *sd, const char *name)
{
- if (eo_finalized_get(obj))
+ if (efl_finalized_get(obj))
{
ERR("This function is only allowed during construction.");
return;
@@ -4668,7 +4668,7 @@ _efl_ui_win_name_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
EOLIAN static void
_efl_ui_win_accel_preference_set(Eo *obj, Efl_Ui_Win_Data *pd, const char *accel)
{
- if (eo_finalized_get(obj))
+ if (efl_finalized_get(obj))
{
ERR("This function is only allowed during construction.");
return;
@@ -5351,7 +5351,7 @@ _win_rotate(Evas_Object *obj, Efl_Ui_Win_Data *sd, int rotation, Eina_Bool resiz
#endif
_elm_win_frame_obj_update(sd);
elm_widget_orientation_set(obj, rotation);
- eo_event_callback_call
+ efl_event_callback_call
(obj, EFL_UI_WIN_EVENT_ROTATION_CHANGED, NULL);
}
@@ -5607,7 +5607,7 @@ _elm_win_theme_internal(Eo *obj, Efl_Ui_Win_Data *sd)
edje_object_scale_set(sd->edje,
elm_widget_scale_get(obj) * elm_config_scale_get());
- eo_event_callback_call(obj, EFL_UI_WIN_EVENT_THEME_CHANGED, NULL);
+ efl_event_callback_call(obj, EFL_UI_WIN_EVENT_THEME_CHANGED, NULL);
ret = elm_obj_widget_disable(obj);
if (!ret) int_ret = ELM_THEME_APPLY_FAILED;
@@ -5822,7 +5822,7 @@ _on_atspi_bus_connected(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSE
}
EOLIAN static void
-_efl_ui_win_class_constructor(Eo_Class *klass)
+_efl_ui_win_class_constructor(Efl_Class *klass)
{
evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass);
@@ -5830,7 +5830,7 @@ _efl_ui_win_class_constructor(Eo_Class *klass)
{
Eo *bridge = _elm_atspi_bridge_get();
if (bridge)
- eo_event_callback_add(bridge, ELM_ATSPI_BRIDGE_EVENT_CONNECTED, _on_atspi_bus_connected, NULL);
+ efl_event_callback_add(bridge, ELM_ATSPI_BRIDGE_EVENT_CONNECTED, _on_atspi_bus_connected, NULL);
}
}
@@ -6294,7 +6294,7 @@ elm_win_indicator_mode_set(Evas_Object *obj, Elm_Win_Indicator_Mode mode)
(sd->x.xwin, ECORE_X_ILLUME_INDICATOR_STATE_OFF);
}
#endif
- eo_event_callback_call
+ efl_event_callback_call
(obj, EFL_UI_WIN_EVENT_INDICATOR_PROP_CHANGED, NULL);
}
@@ -6330,7 +6330,7 @@ elm_win_indicator_opacity_set(Evas_Object *obj, Elm_Win_Indicator_Opacity_Mode m
(sd->x.xwin, ECORE_X_ILLUME_INDICATOR_TRANSPARENT);
}
#endif
- eo_event_callback_call
+ efl_event_callback_call
(obj, EFL_UI_WIN_EVENT_INDICATOR_PROP_CHANGED, NULL);
}