summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_fileselector_button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elc_fileselector_button.c')
-rw-r--r--src/lib/elementary/elc_fileselector_button.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/elementary/elc_fileselector_button.c b/src/lib/elementary/elc_fileselector_button.c
index 6724a0e..96e5acc 100644
--- a/src/lib/elementary/elc_fileselector_button.c
+++ b/src/lib/elementary/elc_fileselector_button.c
@@ -7,11 +7,11 @@
7#include <Elementary.h> 7#include <Elementary.h>
8#include "Eio_Eo.h" 8#include "Eio_Eo.h"
9#include "elm_priv.h" 9#include "elm_priv.h"
10#include "elm_fileselector_button.eo.h" 10#include "elm_fileselector_button_eo.h"
11#include "elm_fileselector_entry.eo.h" 11#include "elm_fileselector_entry_eo.h"
12#include "elm_interface_fileselector.h" 12#include "elm_interface_fileselector.h"
13#include "elm_widget_fileselector_button.h" 13#include "elm_widget_fileselector_button.h"
14#include "elm_fileselector.eo.h" 14#include "elm_fileselector_eo.h"
15 15
16#define MY_CLASS ELM_FILESELECTOR_BUTTON_CLASS 16#define MY_CLASS ELM_FILESELECTOR_BUTTON_CLASS
17 17
@@ -38,15 +38,15 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = {
38}; 38};
39#undef ELM_PRIV_FILESELECTOR_BUTTON_SIGNALS 39#undef ELM_PRIV_FILESELECTOR_BUTTON_SIGNALS
40 40
41EOLIAN static Efl_Ui_Theme_Apply_Result 41EOLIAN static Eina_Error
42_elm_fileselector_button_efl_ui_widget_theme_apply(Eo *obj, Elm_Fileselector_Button_Data *sd EINA_UNUSED) 42_elm_fileselector_button_efl_ui_widget_theme_apply(Eo *obj, Elm_Fileselector_Button_Data *sd EINA_UNUSED)
43{ 43{
44 Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL; 44 Eina_Error int_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
45 45
46 char buf[4096]; 46 char buf[4096];
47 const char *style; 47 const char *style;
48 48
49 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_RESULT_FAIL); 49 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_ERROR_GENERIC);
50 50
51 style = eina_stringshare_add(elm_widget_style_get(obj)); 51 style = eina_stringshare_add(elm_widget_style_get(obj));
52 52
@@ -56,7 +56,7 @@ _elm_fileselector_button_efl_ui_widget_theme_apply(Eo *obj, Elm_Fileselector_But
56 eina_stringshare_replace(&(wd->style), buf); 56 eina_stringshare_replace(&(wd->style), buf);
57 57
58 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)); 58 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
59 if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL; 59 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret;
60 60
61 eina_stringshare_replace(&(wd->style), style); 61 eina_stringshare_replace(&(wd->style), style);
62 62
@@ -703,4 +703,4 @@ elm_fileselector_button_inwin_mode_get(const Eo *obj)
703#define ELM_FILESELECTOR_BUTTON_EXTRA_OPS \ 703#define ELM_FILESELECTOR_BUTTON_EXTRA_OPS \
704 EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_fileselector_button) 704 EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_fileselector_button)
705 705
706#include "elm_fileselector_button.eo.c" 706#include "elm_fileselector_button_eo.c"