aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorYeongJong Lee <yj34.lee@samsung.com>2018-05-31 21:39:34 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2018-05-31 21:39:34 +0900
commit61dc4899b5c2bba059c3a9c5b643746087eb9372 (patch)
treea9ab797dc27274184419ae957b4a4b13078c16d0 /src/lib/elementary/efl_ui_win.c
parentDo not consider the Evas_Vg API as BETA anymore (diff)
downloadefl-61dc4899b5c2bba059c3a9c5b643746087eb9372.tar.gz
elm_win: fix widget type name for backward compatibility
Summary: It should use legacy class in elm_win_add. this patch fixes https://phab.enlightenment.org/T6898, https://phab.enlightenment.org/T6899 Test Plan: make check Reviewers: zmike, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/T6899, https://phab.enlightenment.org/T6898 Differential Revision: https://phab.enlightenment.org/D6233
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index f0f0dd211c..64ed649dcf 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -35,6 +35,8 @@
#include "efl_ui_win_part.eo.h"
#include "elm_plug.eo.h"
#include "efl_ui_win_legacy.eo.h"
+#include "efl_ui_win_socket_legacy.eo.h"
+#include "efl_ui_win_inlined_legacy.eo.h"
#define MY_CLASS EFL_UI_WIN_CLASS
#define MY_CLASS_NAME "Efl.Ui.Win"
@@ -8847,8 +8849,8 @@ elm_win_add(Evas_Object *parent, const char *name, Efl_Ui_Win_Type type)
switch ((int) type)
{
- case ELM_WIN_INLINED_IMAGE: klass = EFL_UI_WIN_INLINED_CLASS; break;
- case ELM_WIN_SOCKET_IMAGE: klass = EFL_UI_WIN_SOCKET_CLASS; break;
+ case ELM_WIN_INLINED_IMAGE: klass = EFL_UI_WIN_INLINED_LEGACY_CLASS; break;
+ case ELM_WIN_SOCKET_IMAGE: klass = EFL_UI_WIN_SOCKET_LEGACY_CLASS; break;
default: break;
}