summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_ctxpopup.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_ctxpopup.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_ctxpopup.c')
-rw-r--r--src/lib/elementary/elc_ctxpopup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c
index 8eb858a..1a20710 100644
--- a/src/lib/elementary/elc_ctxpopup.c
+++ b/src/lib/elementary/elc_ctxpopup.c
@@ -746,13 +746,13 @@ _on_content_resized(void *data,
746} 746}
747 747
748//FIXME: lost the content size when theme hook is called. 748//FIXME: lost the content size when theme hook is called.
749EOLIAN static Elm_Theme_Apply 749EOLIAN static Efl_Ui_Theme_Apply
750_elm_ctxpopup_elm_widget_theme_apply(Eo *obj, Elm_Ctxpopup_Data *sd) 750_elm_ctxpopup_elm_widget_theme_apply(Eo *obj, Elm_Ctxpopup_Data *sd)
751{ 751{
752 Elm_Theme_Apply int_ret = ELM_THEME_APPLY_FAILED; 752 Efl_Ui_Theme_Apply int_ret = EFL_UI_THEME_APPLY_FAILED;
753 753
754 int_ret = elm_obj_widget_theme_apply(efl_super(obj, MY_CLASS)); 754 int_ret = elm_obj_widget_theme_apply(efl_super(obj, MY_CLASS));
755 if (!int_ret) return ELM_THEME_APPLY_FAILED; 755 if (!int_ret) return EFL_UI_THEME_APPLY_FAILED;
756 756
757 elm_widget_theme_object_set 757 elm_widget_theme_object_set
758 (obj, sd->bg, "ctxpopup", "bg", elm_widget_style_get(obj)); 758 (obj, sd->bg, "ctxpopup", "bg", elm_widget_style_get(obj));