summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_theme.c
diff options
context:
space:
mode:
authorSungtaek Hong <sth253.hong@samsung.com>2018-01-24 15:50:58 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2018-01-24 18:14:26 +0900
commitcb25699dacde420a0e0c3434065ab8dac242ee6e (patch)
treeaadf195322243f48771eb3235e9079c5a25891b5 /src/lib/elementary/elm_theme.c
parentf6ba674cd8ada4e018fd205dab2e877e9a19a820 (diff)
downloadefl-cb25699dacde420a0e0c3434065ab8dac242ee6e.tar.gz
efl_ui_legacy: add new interface to indicate legacy widget
Summary: For now, how to check whether a widget is legacy or not is to check flags in private data or static flag, which is set during elm_legacy_add. If Efl.Ui.Legacy interface is added, it can be easilly checked by efl_isa(obj, EFL_UI_LEGACY_INTERFACE) Reviewers: woohyun, jpeg, cedric, Jaehyun_Cho Subscribers: conr2d, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5748
Diffstat (limited to 'src/lib/elementary/elm_theme.c')
-rw-r--r--src/lib/elementary/elm_theme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_theme.c b/src/lib/elementary/elm_theme.c
index 69028c6770..ed24b7a0f9 100644
--- a/src/lib/elementary/elm_theme.c
+++ b/src/lib/elementary/elm_theme.c
@@ -281,6 +281,7 @@ _elm_theme_object_set(Evas_Object *parent, Evas_Object *o, const char *clas, con
Elm_Theme *th = NULL;
if (parent) th = elm_widget_theme_get(parent);
+
return _elm_theme_set(th, o, clas, group, style, elm_widget_is_legacy(parent));
}