elm: Fix examples/tests using elementary_config

elementary_config.h should not even exist. It's been hijacked as a
private header for elementary, but all "real" configuration is stored in
efl's main config.h now.
This commit is contained in:
Jean-Philippe Andre 2017-11-06 15:12:21 +09:00
parent 778c5afb3f
commit ccc3efd77d
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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"