summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_label.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_label.c')
-rw-r--r--src/lib/elementary/elm_label.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elementary/elm_label.c b/src/lib/elementary/elm_label.c
index 51c367a..9e31e5a 100644
--- a/src/lib/elementary/elm_label.c
+++ b/src/lib/elementary/elm_label.c
@@ -182,17 +182,17 @@ _elm_label_horizontal_size_policy_update(Eo *obj, Elm_Label_Data *sd)
182 edje_object_message_signal_process(wd->resize_obj); 182 edje_object_message_signal_process(wd->resize_obj);
183} 183}
184 184
185EOLIAN static Efl_Ui_Theme_Apply_Result 185EOLIAN static Eina_Error
186_elm_label_efl_ui_widget_theme_apply(Eo *obj, Elm_Label_Data *sd) 186_elm_label_efl_ui_widget_theme_apply(Eo *obj, Elm_Label_Data *sd)
187{ 187{
188 Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL; 188 Eina_Error int_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
189 189
190 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_RESULT_FAIL); 190 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_ERROR_GENERIC);
191 191
192 evas_event_freeze(evas_object_evas_get(obj)); 192 evas_event_freeze(evas_object_evas_get(obj));
193 193
194 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)); 194 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
195 if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL; 195 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret;
196 196
197 _elm_label_horizontal_size_policy_update(obj, sd); 197 _elm_label_horizontal_size_policy_update(obj, sd);
198 198
@@ -632,4 +632,4 @@ ELM_PART_OVERRIDE_TEXT_SET(elm_label, ELM_LABEL, Elm_Label_Data)
632 ELM_LAYOUT_SIZING_EVAL_OPS(elm_label), \ 632 ELM_LAYOUT_SIZING_EVAL_OPS(elm_label), \
633 EFL_CANVAS_GROUP_ADD_OPS(elm_label) 633 EFL_CANVAS_GROUP_ADD_OPS(elm_label)
634 634
635#include "elm_label.eo.c" 635#include "elm_label_eo.c"