summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_fileselector_button.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-09 16:13:06 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-09 17:08:24 +0900
commitdee61f40973071bab093f2f81109a7f2d5ff4097 (patch)
treedca04a67936902fbaadd4e3add4abeb928d1cc3a /src/lib/elementary/elc_fileselector_button.c
parentf60c2083a463d6e134b6fb34b5d640fe36c25ad9 (diff)
elm: Cleanup theme and style set functions
This makes efl_ui_layout_theme_set() return a Theme_Apply error code. The type is now public as Efl.Ui.Theme.Apply. Ref T5329 Ref T5363
Diffstat (limited to 'src/lib/elementary/elc_fileselector_button.c')
-rw-r--r--src/lib/elementary/elc_fileselector_button.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elementary/elc_fileselector_button.c b/src/lib/elementary/elc_fileselector_button.c
index 3ee7116..1c67012 100644
--- a/src/lib/elementary/elc_fileselector_button.c
+++ b/src/lib/elementary/elc_fileselector_button.c
@@ -42,15 +42,15 @@ _model_free_eo_cb(void *eo)
42 efl_unref(eo); 42 efl_unref(eo);
43} 43}
44 44
45EOLIAN static Elm_Theme_Apply 45EOLIAN static Efl_Ui_Theme_Apply
46_elm_fileselector_button_elm_widget_theme_apply(Eo *obj, Elm_Fileselector_Button_Data *sd EINA_UNUSED) 46_elm_fileselector_button_elm_widget_theme_apply(Eo *obj, Elm_Fileselector_Button_Data *sd EINA_UNUSED)
47{ 47{
48 Elm_Theme_Apply int_ret = ELM_THEME_APPLY_FAILED; 48 Efl_Ui_Theme_Apply int_ret = EFL_UI_THEME_APPLY_FAILED;
49 49
50 char buf[4096]; 50 char buf[4096];
51 const char *style; 51 const char *style;
52 52
53 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, ELM_THEME_APPLY_FAILED); 53 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_FAILED);
54 54
55 style = eina_stringshare_add(elm_widget_style_get(obj)); 55 style = eina_stringshare_add(elm_widget_style_get(obj));
56 56
@@ -60,7 +60,7 @@ _elm_fileselector_button_elm_widget_theme_apply(Eo *obj, Elm_Fileselector_Button
60 eina_stringshare_replace(&(wd->style), buf); 60 eina_stringshare_replace(&(wd->style), buf);
61 61
62 int_ret = elm_obj_widget_theme_apply(efl_super(obj, MY_CLASS)); 62 int_ret = elm_obj_widget_theme_apply(efl_super(obj, MY_CLASS));
63 if (!int_ret) return ELM_THEME_APPLY_FAILED; 63 if (!int_ret) return EFL_UI_THEME_APPLY_FAILED;
64 64
65 eina_stringshare_replace(&(wd->style), style); 65 eina_stringshare_replace(&(wd->style), style);
66 66