summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-06-04 10:03:44 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-06-05 10:36:11 +0200
commit7660da691c9f844148798db1bb35c6577b081443 (patch)
tree73ff6ea7b4369f6b5f42544b6a582f7eeb44dac6
parentf4cf46e9b54a56357611ed709e04b3699810fdef (diff)
downloadefl-7660da691c9f844148798db1bb35c6577b081443.tar.gz
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 <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11932
-rw-r--r--src/lib/evas/canvas/evas_filter_mixin.c6
-rw-r--r--src/lib/evas/include/evas_filter.h3
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 <Evas.h>
+
#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