summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_clock.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-15 14:44:41 +0100
committerTom Hacohen <tom@stosb.com>2016-08-15 15:07:42 +0100
commite65aae994e72c1d3f8ac6b5360d3772f177b77ef (patch)
tree7ecaf136e45470635889191aded2b47057720a98 /src/lib/elementary/elm_clock.c
parent35abb3c34d10a4826c98055fb85ecf93915e5ea8 (diff)
Eo: Finish the renaming of Eo to the EFL.
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
Diffstat (limited to 'src/lib/elementary/elm_clock.c')
-rw-r--r--src/lib/elementary/elm_clock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elementary/elm_clock.c b/src/lib/elementary/elm_clock.c
index df61808..ba71416 100644
--- a/src/lib/elementary/elm_clock.c
+++ b/src/lib/elementary/elm_clock.c
@@ -565,7 +565,7 @@ _elm_clock_elm_widget_theme_apply(Eo *obj, Elm_Clock_Data *sd EINA_UNUSED)
565{ 565{
566 Elm_Theme_Apply int_ret = ELM_THEME_APPLY_FAILED; 566 Elm_Theme_Apply int_ret = ELM_THEME_APPLY_FAILED;
567 567
568 int_ret = elm_obj_widget_theme_apply(eo_super(obj, MY_CLASS)); 568 int_ret = elm_obj_widget_theme_apply(efl_super(obj, MY_CLASS));
569 if (!int_ret) return ELM_THEME_APPLY_FAILED; 569 if (!int_ret) return ELM_THEME_APPLY_FAILED;
570 570
571 _time_update(obj, EINA_TRUE); 571 _time_update(obj, EINA_TRUE);
@@ -654,7 +654,7 @@ _elm_clock_efl_canvas_group_group_add(Eo *obj, Elm_Clock_Data *priv)
654{ 654{
655 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); 655 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
656 656
657 efl_canvas_group_add(eo_super(obj, MY_CLASS)); 657 efl_canvas_group_add(efl_super(obj, MY_CLASS));
658 elm_widget_sub_object_parent_add(obj); 658 elm_widget_sub_object_parent_add(obj);
659 659
660 priv->cur.ampm = -1; 660 priv->cur.ampm = -1;
@@ -696,7 +696,7 @@ _elm_clock_efl_canvas_group_group_del(Eo *obj, Elm_Clock_Data *sd)
696 696
697 /* NB: digits are killed for being sub objects, automatically */ 697 /* NB: digits are killed for being sub objects, automatically */
698 698
699 efl_canvas_group_del(eo_super(obj, MY_CLASS)); 699 efl_canvas_group_del(efl_super(obj, MY_CLASS));
700} 700}
701 701
702static Eina_Bool _elm_clock_smart_focus_next_enable = EINA_FALSE; 702static Eina_Bool _elm_clock_smart_focus_next_enable = EINA_FALSE;
@@ -790,14 +790,14 @@ EAPI Evas_Object *
790elm_clock_add(Evas_Object *parent) 790elm_clock_add(Evas_Object *parent)
791{ 791{
792 EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL); 792 EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
793 Evas_Object *obj = eo_add(MY_CLASS, parent); 793 Evas_Object *obj = efl_add(MY_CLASS, parent);
794 return obj; 794 return obj;
795} 795}
796 796
797EOLIAN static Eo * 797EOLIAN static Eo *
798_elm_clock_efl_object_constructor(Eo *obj, Elm_Clock_Data *_pd EINA_UNUSED) 798_elm_clock_efl_object_constructor(Eo *obj, Elm_Clock_Data *_pd EINA_UNUSED)
799{ 799{
800 obj = efl_constructor(eo_super(obj, MY_CLASS)); 800 obj = efl_constructor(efl_super(obj, MY_CLASS));
801 efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY); 801 efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY);
802 evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks); 802 evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks);
803 elm_interface_atspi_accessible_role_set(obj, ELM_ATSPI_ROLE_TEXT); 803 elm_interface_atspi_accessible_role_set(obj, ELM_ATSPI_ROLE_TEXT);