summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_icon.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-04 13:36:41 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-03-04 13:36:41 -0500
commit644b771fe43ad76a70de8f6e1a07ca9159c3458c (patch)
tree0640b7519233d4691ae0b43ee29470da97e1c327 /src/lib/elementary/elm_icon.c
parent2f007f7a08b680988c6a4728f2809facebec6f79 (diff)
downloadefl-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_icon.c')
-rw-r--r--src/lib/elementary/elm_icon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_icon.c b/src/lib/elementary/elm_icon.c
index 6b00dcc633..e32655344b 100644
--- a/src/lib/elementary/elm_icon.c
+++ b/src/lib/elementary/elm_icon.c
@@ -366,16 +366,16 @@ _elm_icon_efl_file_load(Eo *obj, Elm_Icon_Data *sd)
return 0;
}
-EOLIAN static Efl_Ui_Theme_Apply_Result
+EOLIAN static Efl_Ui_Theme_Apply_Error
_elm_icon_efl_ui_widget_theme_apply(Eo *obj, Elm_Icon_Data *sd)
{
- 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;
if (sd->stdicon)
_elm_theme_object_icon_set(obj, sd->stdicon, elm_widget_style_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;
return int_ret;
}