summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_separator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_separator.c')
-rw-r--r--src/lib/elementary/elm_separator.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elementary/elm_separator.c b/src/lib/elementary/elm_separator.c
index 482ebcf..2c73da1 100644
--- a/src/lib/elementary/elm_separator.c
+++ b/src/lib/elementary/elm_separator.c
@@ -7,7 +7,7 @@
7#include <Elementary.h> 7#include <Elementary.h>
8 8
9#include "elm_priv.h" 9#include "elm_priv.h"
10#include "elm_separator.eo.h" 10#include "elm_separator_eo.h"
11#include "elm_widget_separator.h" 11#include "elm_widget_separator.h"
12#include "elm_widget_layout.h" 12#include "elm_widget_layout.h"
13 13
@@ -16,10 +16,10 @@
16#define MY_CLASS_NAME "Elm_Separator" 16#define MY_CLASS_NAME "Elm_Separator"
17#define MY_CLASS_NAME_LEGACY "elm_separator" 17#define MY_CLASS_NAME_LEGACY "elm_separator"
18 18
19EOLIAN static Efl_Ui_Theme_Apply_Result 19EOLIAN static Eina_Error
20_elm_separator_efl_ui_widget_theme_apply(Eo *obj, Elm_Separator_Data *sd EINA_UNUSED) 20_elm_separator_efl_ui_widget_theme_apply(Eo *obj, Elm_Separator_Data *sd EINA_UNUSED)
21{ 21{
22 Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL; 22 Eina_Error int_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
23 23
24 if (sd->horizontal) 24 if (sd->horizontal)
25 elm_widget_theme_element_set(obj, "horizontal"); 25 elm_widget_theme_element_set(obj, "horizontal");
@@ -27,7 +27,7 @@ _elm_separator_efl_ui_widget_theme_apply(Eo *obj, Elm_Separator_Data *sd EINA_UN
27 elm_widget_theme_element_set(obj, "vertical"); 27 elm_widget_theme_element_set(obj, "vertical");
28 28
29 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)); 29 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
30 if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL; 30 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret;
31 31
32 return int_ret; 32 return int_ret;
33} 33}
@@ -104,4 +104,4 @@ _elm_separator_class_constructor(Efl_Class *klass)
104 ELM_LAYOUT_SIZING_EVAL_OPS(elm_separator), \ 104 ELM_LAYOUT_SIZING_EVAL_OPS(elm_separator), \
105 EFL_CANVAS_GROUP_ADD_OPS(elm_separator) 105 EFL_CANVAS_GROUP_ADD_OPS(elm_separator)
106 106
107#include "elm_separator.eo.c" 107#include "elm_separator_eo.c"