summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-07 14:59:01 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-07 14:59:01 +0900
commit80b0ef75374e0cd0c9b6aa657cbf3e819065da5f (patch)
treee35eaf830f007894091e3cf64e6b157385eb1030 /src/lib/elementary
parenta438e9382c72bfecbfe6d7630e762b2013640c14 (diff)
elm: Fix make check (code_widget)devs/woohyun/ui_property
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.
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elm_widget.c3
-rw-r--r--src/lib/elementary/elm_widget.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 022f1f3..cf0e8fd 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;
53typedef struct _Elm_Label_Data Elm_Label_Data; 53typedef struct _Elm_Label_Data Elm_Label_Data;
54typedef struct _Elm_Translate_String_Data Elm_Translate_String_Data; 54typedef struct _Elm_Translate_String_Data Elm_Translate_String_Data;
55 55
56Eina_Bool _elm_legacy_add = EINA_FALSE; 56/* FIXME: EAPI because of elm_code_widget test case */
57EAPI Eina_Bool _elm_legacy_add = EINA_FALSE;
57 58
58struct _Elm_Event_Cb_Data 59struct _Elm_Event_Cb_Data
59{ 60{
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h
index aa5d11d..45f5d93 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)
811 811
812/* Internal hack to mark legacy objects as such before construction. 812/* Internal hack to mark legacy objects as such before construction.
813 * No need for TLS: Only UI objects created in the main loop matter. */ 813 * No need for TLS: Only UI objects created in the main loop matter. */
814extern Eina_Bool _elm_legacy_add; 814EAPI Eina_Bool _elm_legacy_add;
815#define elm_legacy_add(k, p, ...) ({ _elm_legacy_add = 1; \ 815#define elm_legacy_add(k, p, ...) ({ _elm_legacy_add = 1; \
816 efl_add(k, p, efl_canvas_object_legacy_ctor(efl_added), ##__VA_ARGS__); }) 816 efl_add(k, p, efl_canvas_object_legacy_ctor(efl_added), ##__VA_ARGS__); })
817 817