aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-02-17 20:12:12 +0100
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-02-17 21:17:59 +0100
commit8aa4df37c355aaa6d0365e695ca46f7fdfc47fca (patch)
tree136bdf108f4e5e89bce8290e2b7dfcefe79c2aab
parentedje: use new bs static lib (diff)
downloadefl-8aa4df37c355aaa6d0365e695ca46f7fdfc47fca.tar.gz
elm: fix test case for elm_web
This is a funny story: elm_web loads modules for getting a actual elm.web object. However, when elementary was merged into EFL someone (... :)) forgot to change the path that is used to load intree modules, so elm.web.none was never actaully tested ... :) But thx to the wonderfull legacy patch its super simple to fix this :)
-rw-r--r--src/lib/elementary/efl_ui_widget.c1
-rw-r--r--src/modules/elementary/web/none/elm_web_none.eo2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c
index 6538ec62b7..00ab716b90 100644
--- a/src/lib/elementary/efl_ui_widget.c
+++ b/src/lib/elementary/efl_ui_widget.c
@@ -144,6 +144,7 @@ static const char *legacy_type_table[][2] =
{ "Elm.Slideshow", "Elm_Slideshow" },
{ "Elm.Spinner", "Elm_Spinner" },
{ "Elm.Plug", "Elm_Plug" },
+ { "Elm.Web.None", "Elm_Web" },
{ NULL, NULL }
};
diff --git a/src/modules/elementary/web/none/elm_web_none.eo b/src/modules/elementary/web/none/elm_web_none.eo
index 0a124b0d30..e072be2c5f 100644
--- a/src/modules/elementary/web/none/elm_web_none.eo
+++ b/src/modules/elementary/web/none/elm_web_none.eo
@@ -1,4 +1,4 @@
-class Elm.Web.None (Elm.Web)
+class Elm.Web.None (Elm.Web, Efl.Ui.Legacy)
{
[[Elementary web module class]]
implements {