diff options
-rw-r--r-- | src/lib/elementary/elementary_config.h | 3 | ||||
-rw-r--r-- | src/tests/elementary/elm_code_test_widget.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/elementary/elementary_config.h b/src/lib/elementary/elementary_config.h index 459ebd0213..788b02530e 100644 --- a/src/lib/elementary/elementary_config.h +++ b/src/lib/elementary/elementary_config.h @@ -8,6 +8,8 @@ */ #define ELM_CONFIG_ICON_THEME_ELEMENTARY "_Elementary_Icon_Theme" + +#if defined(ELEMENTARY_BUILD) || defined(ELM_INTERNAL_API_ARGESFSDFEFC) #define ELM_WIDGET_PROTECTED #define ELM_WIDGET_BETA #define EFL_CANVAS_OBJECT_PROTECTED @@ -22,3 +24,4 @@ #define EFL_ACCESS_SELECTION_BETA #define EFL_ACCESS_TEXT_BETA #define EFL_ACCESS_VALUE_BETA +#endif diff --git a/src/tests/elementary/elm_code_test_widget.c b/src/tests/elementary/elm_code_test_widget.c index 6195b5cf45..3a5860aeb0 100644 --- a/src/tests/elementary/elm_code_test_widget.c +++ b/src/tests/elementary/elm_code_test_widget.c @@ -1,9 +1,9 @@ +#define ELM_INTERNAL_API_ARGESFSDFEFC + #ifdef HAVE_CONFIG_H # include "elementary_config.h" #endif -#define ELM_INTERNAL_API_ARGESFSDFEFC - #include "elm_suite.h" #include "Elementary.h" |