jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=80b0ef75374e0cd0c9b6aa657cbf3e819065da5f
commit 80b0ef75374e0cd0c9b6aa657cbf3e819065da5f Author: Jean-Philippe Andre <jp.an...@samsung.com> Date: Tue Nov 7 14:59:01 2017 +0900 elm: Fix make check (code_widget) elm_code_widget is causing a lot of trouble as it's relying on internal access to elementary, without being built as part of elementary.so. Many EAPI symbols are exported that shouldn't need to be, as they are only internals of elm. --- src/lib/elementary/elm_widget.c | 3 ++- src/lib/elementary/elm_widget.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c index 022f1f3aba..cf0e8fd84e 100644 --- a/src/lib/elementary/elm_widget.c +++ b/src/lib/elementary/elm_widget.c @@ -53,7 +53,8 @@ typedef struct _Elm_Event_Cb_Data Elm_Event_Cb_Data; typedef struct _Elm_Label_Data Elm_Label_Data; typedef struct _Elm_Translate_String_Data Elm_Translate_String_Data; -Eina_Bool _elm_legacy_add = EINA_FALSE; +/* FIXME: EAPI because of elm_code_widget test case */ +EAPI Eina_Bool _elm_legacy_add = EINA_FALSE; struct _Elm_Event_Cb_Data { diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h index aa5d11d123..45f5d93629 100644 --- a/src/lib/elementary/elm_widget.h +++ b/src/lib/elementary/elm_widget.h @@ -811,7 +811,7 @@ _elm_widget_sub_object_redirect_to_top(Evas_Object *obj, Evas_Object *sobj) /* Internal hack to mark legacy objects as such before construction. * No need for TLS: Only UI objects created in the main loop matter. */ -extern Eina_Bool _elm_legacy_add; +EAPI Eina_Bool _elm_legacy_add; #define elm_legacy_add(k, p, ...) ({ _elm_legacy_add = 1; \ efl_add(k, p, efl_canvas_object_legacy_ctor(efl_added), ##__VA_ARGS__); }) --