summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_layout.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-04 13:37:07 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-03-04 13:37:07 -0500
commitbb6caaa471f94611c081af3dc9530fbe524cd5e9 (patch)
treebb73e450597a09ac5e91e56fc8c2072376a43228 /src/lib/elementary/efl_ui_layout.c
parent6b046ec845b6e0dc5d87f8d6f6524d1794678727 (diff)
efl.ui: remove Efl.Ui.Theme_Apply_Error
Summary: now that the error codes have been change to be compatible with eina_error, this can be removed and will work through eina_error naturally fix T7718 Depends on D8067 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7718 Differential Revision: https://phab.enlightenment.org/D8068
Diffstat (limited to 'src/lib/elementary/efl_ui_layout.c')
-rw-r--r--src/lib/elementary/efl_ui_layout.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c
index d4d2323..1662adc 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -445,10 +445,10 @@ _efl_ui_layout_base_efl_ui_widget_disabled_set(Eo *obj, Efl_Ui_Layout_Data *_pd
445 _flush_mirrored_state(obj); 445 _flush_mirrored_state(obj);
446} 446}
447 447
448static Efl_Ui_Theme_Apply_Error 448static Eina_Error
449_efl_ui_layout_theme_internal(Eo *obj, Efl_Ui_Layout_Data *sd) 449_efl_ui_layout_theme_internal(Eo *obj, Efl_Ui_Layout_Data *sd)
450{ 450{
451 Efl_Ui_Theme_Apply_Error ret = EFL_UI_THEME_APPLY_ERROR_GENERIC; 451 Eina_Error ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
452 452
453 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_ERROR_GENERIC); 453 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_ERROR_GENERIC);
454 454
@@ -471,10 +471,10 @@ _efl_ui_layout_theme_internal(Eo *obj, Efl_Ui_Layout_Data *sd)
471 return ret; 471 return ret;
472} 472}
473 473
474EOLIAN static Efl_Ui_Theme_Apply_Error 474EOLIAN static Eina_Error
475_efl_ui_layout_base_efl_ui_widget_theme_apply(Eo *obj, Efl_Ui_Layout_Data *sd) 475_efl_ui_layout_base_efl_ui_widget_theme_apply(Eo *obj, Efl_Ui_Layout_Data *sd)
476{ 476{
477 Efl_Ui_Theme_Apply_Error theme_apply_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC; 477 Eina_Error theme_apply_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
478 478
479 theme_apply_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)); 479 theme_apply_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
480 if (theme_apply_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return EFL_UI_THEME_APPLY_ERROR_GENERIC; 480 if (theme_apply_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return EFL_UI_THEME_APPLY_ERROR_GENERIC;
@@ -920,7 +920,7 @@ _efl_ui_layout_base_theme_get(const Eo *obj, Efl_Ui_Layout_Data *sd EINA_UNUSED,
920 if (style) *style = elm_widget_theme_style_get(obj); 920 if (style) *style = elm_widget_theme_style_get(obj);
921} 921}
922 922
923EOLIAN static Efl_Ui_Theme_Apply_Error 923EOLIAN static Eina_Error
924_efl_ui_layout_base_theme_set(Eo *obj, Efl_Ui_Layout_Data *sd, const char *klass, const char *group, const char *style) 924_efl_ui_layout_base_theme_set(Eo *obj, Efl_Ui_Layout_Data *sd, const char *klass, const char *group, const char *style)
925{ 925{
926 Eina_Bool changed = EINA_FALSE; 926 Eina_Bool changed = EINA_FALSE;
@@ -2944,7 +2944,7 @@ elm_layout_data_get(const Evas_Object *obj, const char *key)
2944EAPI Eina_Bool 2944EAPI Eina_Bool
2945elm_layout_theme_set(Evas_Object *obj, const char *klass, const char *group, const char *style) 2945elm_layout_theme_set(Evas_Object *obj, const char *klass, const char *group, const char *style)
2946{ 2946{
2947 Efl_Ui_Theme_Apply_Error theme_apply_ret; 2947 Eina_Error theme_apply_ret;
2948 2948
2949 theme_apply_ret = efl_ui_layout_theme_set(obj, klass, group, style); 2949 theme_apply_ret = efl_ui_layout_theme_set(obj, klass, group, style);
2950 return (theme_apply_ret != EFL_UI_THEME_APPLY_ERROR_GENERIC); 2950 return (theme_apply_ret != EFL_UI_THEME_APPLY_ERROR_GENERIC);