summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_nstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_nstate.c')
-rw-r--r--src/lib/elementary/efl_ui_nstate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_nstate.c b/src/lib/elementary/efl_ui_nstate.c
index 8a16d25..a435c54 100644
--- a/src/lib/elementary/efl_ui_nstate.c
+++ b/src/lib/elementary/efl_ui_nstate.c
@@ -116,13 +116,13 @@ _efl_ui_nstate_value_set(Eo *obj, Efl_Ui_Nstate_Data *pd, int state)
116 _state_active(obj, pd); 116 _state_active(obj, pd);
117} 117}
118 118
119EOLIAN static Efl_Ui_Theme_Apply_Result 119EOLIAN static Eina_Error
120_efl_ui_nstate_efl_ui_widget_theme_apply(Eo *obj, Efl_Ui_Nstate_Data *pd) 120_efl_ui_nstate_efl_ui_widget_theme_apply(Eo *obj, Efl_Ui_Nstate_Data *pd)
121{ 121{
122 Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL; 122 Eina_Error int_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
123 123
124 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)); 124 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
125 if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL; 125 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret;
126 126
127 _state_signal_emit(obj, pd); 127 _state_signal_emit(obj, pd);
128 128