From db9e70708a809c3b29eb5bbbbe5d36f89db6a216 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Thu, 9 Nov 2017 12:39:24 -0600 Subject: [PATCH] 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. --- src/bin/e_gadget_runner.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/bin/e_gadget_runner.c b/src/bin/e_gadget_runner.c index 6f14bea91..eb11b6ecb 100644 --- a/src/bin/e_gadget_runner.c +++ b/src/bin/e_gadget_runner.c @@ -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,