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.
This commit is contained in:
Tom Hacohen 2015-04-02 10:54:06 +01:00
parent 82a43998cb
commit 6d2699317e
2 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#endif
#define EO_BETA_API
#include <Elementary.h>
static void

View File

@ -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
/**
* @}