diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/elementary/elm_widget.c | 3 | ||||
-rw-r--r-- | 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; | |||
53 | typedef struct _Elm_Label_Data Elm_Label_Data; | 53 | typedef struct _Elm_Label_Data Elm_Label_Data; |
54 | typedef struct _Elm_Translate_String_Data Elm_Translate_String_Data; | 54 | typedef struct _Elm_Translate_String_Data Elm_Translate_String_Data; |
55 | 55 | ||
56 | Eina_Bool _elm_legacy_add = EINA_FALSE; | 56 | /* FIXME: EAPI because of elm_code_widget test case */ |
57 | EAPI Eina_Bool _elm_legacy_add = EINA_FALSE; | ||
57 | 58 | ||
58 | struct _Elm_Event_Cb_Data | 59 | struct _Elm_Event_Cb_Data |
59 | { | 60 | { |
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) | |||
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. */ |
814 | extern Eina_Bool _elm_legacy_add; | 814 | EAPI 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 | ||