summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_box.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_box.c')
-rw-r--r--src/lib/elementary/elm_box.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/elementary/elm_box.c b/src/lib/elementary/elm_box.c
index 71af0b5..bd6a00d 100644
--- a/src/lib/elementary/elm_box.c
+++ b/src/lib/elementary/elm_box.c
@@ -6,7 +6,7 @@
6#define EFL_UI_FOCUS_COMPOSITION_PROTECTED 6#define EFL_UI_FOCUS_COMPOSITION_PROTECTED
7 7
8#include <Elementary.h> 8#include <Elementary.h>
9#include <elm_box.eo.h> 9#include <elm_box_eo.h>
10#include "elm_priv.h" 10#include "elm_priv.h"
11#include "els_box.h" 11#include "els_box.h"
12#include "elm_widget_box.h" 12#include "elm_widget_box.h"
@@ -57,15 +57,15 @@ _child_removed_cb_proxy(void *data, const Efl_Event *event)
57 efl_event_callback_legacy_call(box, ELM_BOX_EVENT_CHILD_REMOVED, child); 57 efl_event_callback_legacy_call(box, ELM_BOX_EVENT_CHILD_REMOVED, child);
58} 58}
59 59
60EOLIAN static Efl_Ui_Theme_Apply_Result 60EOLIAN static Eina_Error
61_elm_box_efl_ui_widget_theme_apply(Eo *obj, Elm_Box_Data *sd EINA_UNUSED) 61_elm_box_efl_ui_widget_theme_apply(Eo *obj, Elm_Box_Data *sd EINA_UNUSED)
62{ 62{
63 Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL; 63 Eina_Error int_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
64 64
65 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)); 65 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
66 if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL; 66 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret;
67 67
68 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_RESULT_FAIL); 68 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_ERROR_GENERIC);
69 evas_object_smart_calculate(wd->resize_obj); 69 evas_object_smart_calculate(wd->resize_obj);
70 70
71 return int_ret; 71 return int_ret;
@@ -666,4 +666,4 @@ _elm_box_class_constructor(Efl_Class *klass)
666#define ELM_BOX_EXTRA_OPS \ 666#define ELM_BOX_EXTRA_OPS \
667 EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_box) 667 EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_box)
668 668
669#include "elm_box.eo.c" 669#include "elm_box_eo.c"