From 7660da691c9f844148798db1bb35c6577b081443 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Thu, 4 Jun 2020 10:03:44 +0200 Subject: [PATCH] evas: correctly declare filter_internal as public API I know this is internal. However it is public used in public .eo files. Even if it is internal, and beta, we still need to expose the API in order to have it correctly in the .so. Reviewed-by: Stefan Schmidt Differential Revision: https://phab.enlightenment.org/D11932 --- src/lib/evas/canvas/evas_filter_mixin.c | 6 ++---- src/lib/evas/include/evas_filter.h | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/lib/evas/canvas/evas_filter_mixin.c b/src/lib/evas/canvas/evas_filter_mixin.c index 00942628f1..11a3fe45b5 100644 --- a/src/lib/evas/canvas/evas_filter_mixin.c +++ b/src/lib/evas/canvas/evas_filter_mixin.c @@ -1,9 +1,7 @@ #define EFL_CANVAS_FILTER_INTERNAL_PROTECTED -#include "evas_common_private.h" -#include "evas_private.h" -#include "../../lib/efl/interfaces/efl_gfx_filter.eo.h" -#include "efl_canvas_filter_internal.eo.h" +#include + #include "evas_filter.h" #define MY_CLASS EFL_CANVAS_FILTER_INTERNAL_MIXIN diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h index 5a22c2b6ae..dd779812f9 100644 --- a/src/lib/evas/include/evas_filter.h +++ b/src/lib/evas/include/evas_filter.h @@ -4,7 +4,6 @@ #include "evas_common_private.h" #include "evas_private.h" -#include "efl_canvas_filter_internal.eo.h" #ifdef EAPI # undef EAPI @@ -32,6 +31,8 @@ # endif #endif +#include "efl_canvas_filter_internal.eo.h" + #ifdef DEBUG # define FILTERS_DEBUG #endif