Make e_gadget_runner.c compile on efl 1.20

It won't work, but it won't fail to build.  Temporary hack until 1.21
is released.
This commit is contained in:
Derek Foreman 2017-11-09 12:39:24 -06:00
parent 8b798d9fb0
commit db9e70708a
1 changed files with 20 additions and 0 deletions

View File

@ -8,6 +8,26 @@
# pragma GCC diagnostic ignored "-Wformat-truncation"
#endif
#ifndef EFL_VERSION_1_21
static void efl_wl_aspect_set(Evas_Object *obj EINA_UNUSED, Eina_Bool set EINA_UNUSED)
{
}
static void efl_wl_minmax_set(Evas_Object *obj EINA_UNUSED, Eina_Bool set EINA_UNUSED)
{
}
static void *efl_wl_global_add(Evas_Object *obj EINA_UNUSED, const void *interface EINA_UNUSED, uint32_t version EINA_UNUSED, void *data EINA_UNUSED, void *bind_cb EINA_UNUSED)
{
return NULL;
}
static Eina_Bool efl_wl_surface_extract(Evas_Object *surface EINA_UNUSED)
{
return EINA_FALSE;
}
#endif
typedef enum
{
EXIT_MODE_RESTART,