diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-08-09 16:13:06 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-08-09 17:08:24 +0900 |
commit | dee61f40973071bab093f2f81109a7f2d5ff4097 (patch) | |
tree | dca04a67936902fbaadd4e3add4abeb928d1cc3a /src/lib/elementary/elm_clock.c | |
parent | f60c2083a463d6e134b6fb34b5d640fe36c25ad9 (diff) |
elm: Cleanup theme and style set functions
This makes efl_ui_layout_theme_set() return a Theme_Apply error
code. The type is now public as Efl.Ui.Theme.Apply.
Ref T5329
Ref T5363
Diffstat (limited to 'src/lib/elementary/elm_clock.c')
-rw-r--r-- | src/lib/elementary/elm_clock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_clock.c b/src/lib/elementary/elm_clock.c index 06bc876..2486cb0 100644 --- a/src/lib/elementary/elm_clock.c +++ b/src/lib/elementary/elm_clock.c | |||
@@ -560,13 +560,13 @@ _time_update(Evas_Object *obj, Eina_Bool theme_update) | |||
560 | sd->cur.ampm = -1; | 560 | sd->cur.ampm = -1; |
561 | } | 561 | } |
562 | 562 | ||
563 | EOLIAN static Elm_Theme_Apply | 563 | EOLIAN static Efl_Ui_Theme_Apply |
564 | _elm_clock_elm_widget_theme_apply(Eo *obj, Elm_Clock_Data *sd EINA_UNUSED) | 564 | _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 | Efl_Ui_Theme_Apply int_ret = EFL_UI_THEME_APPLY_FAILED; |
567 | 567 | ||
568 | int_ret = elm_obj_widget_theme_apply(efl_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 EFL_UI_THEME_APPLY_FAILED; |
570 | 570 | ||
571 | _time_update(obj, EINA_TRUE); | 571 | _time_update(obj, EINA_TRUE); |
572 | 572 | ||