summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_actionslider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_actionslider.c')
-rw-r--r--src/lib/elementary/elm_actionslider.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/elementary/elm_actionslider.c b/src/lib/elementary/elm_actionslider.c
index b9f295f..f83bdca 100644
--- a/src/lib/elementary/elm_actionslider.c
+++ b/src/lib/elementary/elm_actionslider.c
@@ -12,7 +12,7 @@
12#include "elm_widget_actionslider.h" 12#include "elm_widget_actionslider.h"
13#include "elm_widget_layout.h" 13#include "elm_widget_layout.h"
14 14
15#include "elm_actionslider.eo.h" 15#include "elm_actionslider_eo.h"
16 16
17#include "elm_actionslider_part.eo.h" 17#include "elm_actionslider_part.eo.h"
18#include "elm_part_helper.h" 18#include "elm_part_helper.h"
@@ -113,18 +113,18 @@ _mirroredness_change_eval(Evas_Object *obj)
113 (wd->resize_obj, "elm.drag_button_base", 1.0 - pos, 0.5); 113 (wd->resize_obj, "elm.drag_button_base", 1.0 - pos, 0.5);
114} 114}
115 115
116EOLIAN static Efl_Ui_Theme_Apply_Result 116EOLIAN static Eina_Error
117_elm_actionslider_efl_ui_widget_theme_apply(Eo *obj, Elm_Actionslider_Data *sd EINA_UNUSED) 117_elm_actionslider_efl_ui_widget_theme_apply(Eo *obj, Elm_Actionslider_Data *sd EINA_UNUSED)
118{ 118{
119 Eina_Bool mirrored; 119 Eina_Bool mirrored;
120 Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL; 120 Eina_Error int_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
121 121
122 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_RESULT_FAIL); 122 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_ERROR_GENERIC);
123 123
124 mirrored = elm_object_mirrored_get(obj); 124 mirrored = elm_object_mirrored_get(obj);
125 125
126 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)); 126 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
127 if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL; 127 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret;
128 128
129 if (elm_object_mirrored_get(obj) != mirrored) 129 if (elm_object_mirrored_get(obj) != mirrored)
130 _mirroredness_change_eval(obj); 130 _mirroredness_change_eval(obj);
@@ -664,4 +664,4 @@ ELM_LAYOUT_TEXT_ALIASES_IMPLEMENT(MY_CLASS_PFX)
664 ELM_LAYOUT_SIZING_EVAL_OPS(elm_actionslider), \ 664 ELM_LAYOUT_SIZING_EVAL_OPS(elm_actionslider), \
665 EFL_CANVAS_GROUP_ADD_OPS(elm_actionslider) 665 EFL_CANVAS_GROUP_ADD_OPS(elm_actionslider)
666 666
667#include "elm_actionslider.eo.c" 667#include "elm_actionslider_eo.c"