From 6b7346b7b2b0db05e76cc217966d3304e4cbc41a Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Wed, 13 Feb 2019 11:58:33 +0100 Subject: Remove individual class BETA guards Summary: Eolian adds a per-class BETA guard (like EFL_UI_WIN_BETA) to any method tagged as @beta. This means that any app (and the EFL code) wanting to use BETA features has to enable them class by class, which is cumbersome. This commit replaces the individual guards with the global EFL_BETA_API_SUPPORT guard, so apps only need to define one symbol to access BETA features. Any usage of the per-class guards has been removed from the EFL code and examples. When building EFL the global guard is defined by configure, so all EFL methods already have access to BETA API. Efl_Core.h and Efl_Ui.h no longer define EFL_BETA_API_SUPPORT. Apps wanting to use BETA API have to define this symbol before including any EFL header (It has been added to the examples requiring it). Test Plan: make && make check && make examples still work, but there's a lot less #defines in the code Reviewers: zmike, bu5hm4n, q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T6788 Differential Revision: https://phab.enlightenment.org/D7924 --- src/lib/edje/edje_calc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib/edje/edje_calc.c') diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c index cdfcc81732..f09265f37b 100644 --- a/src/lib/edje/edje_calc.c +++ b/src/lib/edje/edje_calc.c @@ -1,4 +1,3 @@ -#define EFL_GFX_FILTER_BETA #define EFL_GFX_SIZE_HINT_PROTECTED #include "edje_private.h" -- cgit v1.2.1