summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_combobox.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elc_combobox.c')
-rw-r--r--src/lib/elementary/elc_combobox.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/elementary/elc_combobox.c b/src/lib/elementary/elc_combobox.c
index 2b231aa..3c17d46 100644
--- a/src/lib/elementary/elc_combobox.c
+++ b/src/lib/elementary/elc_combobox.c
@@ -10,9 +10,9 @@
10#include <Elementary.h> 10#include <Elementary.h>
11#include "elm_priv.h" 11#include "elm_priv.h"
12#include "elm_widget_combobox.h" 12#include "elm_widget_combobox.h"
13#include "elm_entry.eo.h" 13#include "elm_entry_eo.h"
14#include "elm_genlist.eo.h" 14#include "elm_genlist_eo.h"
15#include "elm_hover.eo.h" 15#include "elm_hover_eo.h"
16 16
17EOAPI void elm_obj_combobox_hover_begin(Eo *obj); 17EOAPI void elm_obj_combobox_hover_begin(Eo *obj);
18EOAPI void elm_obj_combobox_hover_end(Eo *obj); 18EOAPI void elm_obj_combobox_hover_end(Eo *obj);
@@ -79,15 +79,15 @@ _elm_combobox_efl_ui_l10n_translation_update(Eo *obj EINA_UNUSED, Elm_Combobox_D
79 efl_ui_l10n_translation_update(sd->hover); 79 efl_ui_l10n_translation_update(sd->hover);
80} 80}
81 81
82EOLIAN static Efl_Ui_Theme_Apply_Result 82EOLIAN static Eina_Error
83_elm_combobox_efl_ui_widget_theme_apply(Eo *obj, Elm_Combobox_Data *sd) 83_elm_combobox_efl_ui_widget_theme_apply(Eo *obj, Elm_Combobox_Data *sd)
84{ 84{
85 const char *style; 85 const char *style;
86 Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL; 86 Eina_Error int_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
87 Eina_Bool mirrored; 87 Eina_Bool mirrored;
88 char buf[128]; 88 char buf[128];
89 89
90 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_RESULT_FAIL); 90 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_ERROR_GENERIC);
91 91
92 style = eina_stringshare_add(elm_widget_style_get(obj)); 92 style = eina_stringshare_add(elm_widget_style_get(obj));
93 93
@@ -97,7 +97,7 @@ _elm_combobox_efl_ui_widget_theme_apply(Eo *obj, Elm_Combobox_Data *sd)
97 eina_stringshare_replace(&(wd->style), buf); 97 eina_stringshare_replace(&(wd->style), buf);
98 98
99 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)); 99 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
100 if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL; 100 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret;
101 101
102 eina_stringshare_replace(&(wd->style), style); 102 eina_stringshare_replace(&(wd->style), style);
103 103
@@ -609,7 +609,7 @@ _elm_combobox_class_initializer(Efl_Class *klass)
609 EFL_OBJECT_OP_FUNC(efl_gfx_entity_size_set, _elm_combobox_efl_gfx_entity_size_set), 609 EFL_OBJECT_OP_FUNC(efl_gfx_entity_size_set, _elm_combobox_efl_gfx_entity_size_set),
610 EFL_OBJECT_OP_FUNC(efl_ui_widget_theme_apply, _elm_combobox_efl_ui_widget_theme_apply), 610 EFL_OBJECT_OP_FUNC(efl_ui_widget_theme_apply, _elm_combobox_efl_ui_widget_theme_apply),
611 EFL_OBJECT_OP_FUNC(efl_ui_l10n_translation_update, _elm_combobox_efl_ui_l10n_translation_update), 611 EFL_OBJECT_OP_FUNC(efl_ui_l10n_translation_update, _elm_combobox_efl_ui_l10n_translation_update),
612 EFL_OBJECT_OP_FUNC(efl_ui_widget_event, _elm_combobox_efl_ui_widget_widget_event), 612 EFL_OBJECT_OP_FUNC(efl_ui_widget_input_event_handler, _elm_combobox_efl_ui_widget_widget_input_event_handler),
613 EFL_OBJECT_OP_FUNC(efl_ui_autorepeat_supported_get, _elm_combobox_efl_ui_autorepeat_autorepeat_supported_get), 613 EFL_OBJECT_OP_FUNC(efl_ui_autorepeat_supported_get, _elm_combobox_efl_ui_autorepeat_autorepeat_supported_get),
614 EFL_OBJECT_OP_FUNC(elm_obj_genlist_filter_set, _elm_combobox_elm_genlist_filter_set), 614 EFL_OBJECT_OP_FUNC(elm_obj_genlist_filter_set, _elm_combobox_elm_genlist_filter_set),
615 EFL_OBJECT_OP_FUNC(efl_access_widget_action_elm_actions_get, _elm_combobox_efl_access_widget_action_elm_actions_get), 615 EFL_OBJECT_OP_FUNC(efl_access_widget_action_elm_actions_get, _elm_combobox_efl_access_widget_action_elm_actions_get),