summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_clock.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/elm_clock.c
parente64e120a51972c44fb8cae88a78bb4aa34f502c7 (diff)
Change the EFL to follow the new Eo rename.
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 838269d..df61808 100644
--- a/src/lib/elementary/elm_clock.c
+++ b/src/lib/elementary/elm_clock.c
@@ -73,7 +73,7 @@ _on_clock_val_up(void *data)
73 sd->interval = sd->interval / 1.05; 73 sd->interval = sd->interval / 1.05;
74 ecore_timer_interval_set(sd->spin, sd->interval); 74 ecore_timer_interval_set(sd->spin, sd->interval);
75 _time_update(data, EINA_FALSE); 75 _time_update(data, EINA_FALSE);
76 eo_event_callback_call(data, ELM_CLOCK_EVENT_CHANGED, NULL); 76 efl_event_callback_call(data, ELM_CLOCK_EVENT_CHANGED, NULL);
77 return ECORE_CALLBACK_RENEW; 77 return ECORE_CALLBACK_RENEW;
78 78
79clock_val_up_cancel: 79clock_val_up_cancel:
@@ -128,7 +128,7 @@ _on_clock_val_down(void *data)
128 sd->interval = sd->interval / 1.05; 128 sd->interval = sd->interval / 1.05;
129 ecore_timer_interval_set(sd->spin, sd->interval); 129 ecore_timer_interval_set(sd->spin, sd->interval);
130 _time_update(data, EINA_FALSE); 130 _time_update(data, EINA_FALSE);
131 eo_event_callback_call(data, ELM_CLOCK_EVENT_CHANGED, NULL); 131 efl_event_callback_call(data, ELM_CLOCK_EVENT_CHANGED, NULL);
132 return ECORE_CALLBACK_RENEW; 132 return ECORE_CALLBACK_RENEW;
133 133
134clock_val_down_cancel: 134clock_val_down_cancel:
@@ -795,9 +795,9 @@ elm_clock_add(Evas_Object *parent)
795} 795}
796 796
797EOLIAN static Eo * 797EOLIAN static Eo *
798_elm_clock_eo_base_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 = eo_constructor(eo_super(obj, MY_CLASS)); 800 obj = efl_constructor(eo_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);
@@ -949,7 +949,7 @@ _elm_clock_elm_widget_focus_direction_manager_is(Eo *obj EINA_UNUSED, Elm_Clock_
949} 949}
950 950
951static void 951static void
952_elm_clock_class_constructor(Eo_Class *klass) 952_elm_clock_class_constructor(Efl_Class *klass)
953{ 953{
954 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass); 954 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass);
955 955