tasn pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=65cab83bfcdbaa4283b727c30742160b8e8568ba
commit 65cab83bfcdbaa4283b727c30742160b8e8568ba Author: Tom Hacohen <t...@stosb.com> Date: Thu Apr 2 10:54:06 2015 +0100 Elm helper: fix compilation against elementary. There was an issue when compiling against elementary when EO_BETA_API wasn't set. This commit fixes that. Thanks to Kuuko for reporting. --- src/bin/test_entry.c | 1 + src/lib/elm_helper.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/bin/test_entry.c b/src/bin/test_entry.c index 3c87c8d..07550f4 100644 --- a/src/bin/test_entry.c +++ b/src/bin/test_entry.c @@ -1,6 +1,7 @@ #ifdef HAVE_CONFIG_H # include "elementary_config.h" #endif +#define EO_BETA_API #include <Elementary.h> static void diff --git a/src/lib/elm_helper.h b/src/lib/elm_helper.h index c09fd6f..adfbb40 100644 --- a/src/lib/elm_helper.h +++ b/src/lib/elm_helper.h @@ -78,6 +78,7 @@ elm_validator_regexp_free(Elm_Validator_Regexp *validator) EINA_ARG_NONNULL(1); EAPI Elm_Regexp_Status elm_validator_regexp_status_get(Elm_Validator_Regexp *validator) EINA_ARG_NONNULL(1); +#ifdef EO_BETA_API /** * @brief The regex validator. Used as callback to validate event. * @@ -102,6 +103,7 @@ elm_validator_regexp_status_get(Elm_Validator_Regexp *validator) EINA_ARG_NONNUL */ EAPI Eina_Bool elm_validator_regexp_helper(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info); +#endif /** * @} --