diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-03-04 13:36:41 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-03-04 13:36:41 -0500 |
commit | 644b771fe43ad76a70de8f6e1a07ca9159c3458c (patch) | |
tree | 0640b7519233d4691ae0b43ee29470da97e1c327 /src/lib/elementary/elm_actionslider.c | |
parent | 2f007f7a08b680988c6a4728f2809facebec6f79 (diff) | |
download | efl-644b771fe43ad76a70de8f6e1a07ca9159c3458c.tar.gz |
efl.ui: Efl.Ui.Theme_Apply_Result -> Efl.Ui.Theme_Apply_Error
Summary:
this swaps the values of "no error" and "error" in order to maintain
consistency with the rest of efl where the zero value means "no error"
Depends on D8060
Reviewers: cedric
Reviewed By: cedric
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl_api
Differential Revision: https://phab.enlightenment.org/D8063
Diffstat (limited to 'src/lib/elementary/elm_actionslider.c')
-rw-r--r-- | src/lib/elementary/elm_actionslider.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elementary/elm_actionslider.c b/src/lib/elementary/elm_actionslider.c index b9f295f76c..889e4adf8b 100644 --- a/src/lib/elementary/elm_actionslider.c +++ b/src/lib/elementary/elm_actionslider.c @@ -113,18 +113,18 @@ _mirroredness_change_eval(Evas_Object *obj) (wd->resize_obj, "elm.drag_button_base", 1.0 - pos, 0.5); } -EOLIAN static Efl_Ui_Theme_Apply_Result +EOLIAN static Efl_Ui_Theme_Apply_Error _elm_actionslider_efl_ui_widget_theme_apply(Eo *obj, Elm_Actionslider_Data *sd EINA_UNUSED) { Eina_Bool mirrored; - Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL; + Efl_Ui_Theme_Apply_Error int_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC; - ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_RESULT_FAIL); + ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_ERROR_GENERIC); mirrored = elm_object_mirrored_get(obj); int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)); - if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL; + if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret; if (elm_object_mirrored_get(obj) != mirrored) _mirroredness_change_eval(obj); |