[gimp/nielsdg/dont-generate-pdb-for-enums-in-app: 1/2] pdb: Don't generate extras for enums in app/




commit b81ad3d69315a8b71985ed5b8c7055a48fec367c
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Fri Jun 10 10:12:53 2022 +0200

    pdb: Don't generate extras for enums in app/
    
    We don't expose these enums, neither over our library, nor over PDB, so
    stop trying to generate extra API around them that we might accidentally
    expose.

 pdb/Makefile.am | 5 +----
 pdb/meson.build | 3 ---
 2 files changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/pdb/Makefile.am b/pdb/Makefile.am
index 74facacc4e..8adbf18752 100644
--- a/pdb/Makefile.am
+++ b/pdb/Makefile.am
@@ -73,10 +73,7 @@ EXTRA_DIST = \
 
 enum_headers = \
        ../libgimpbase/gimpbaseenums.h          \
-       ../libgimpconfig/gimpconfigenums.h      \
-       ../app/operations/operations-enums.h    \
-       ../app/core/core-enums.h                \
-       ../app/paint/paint-enums.h
+       ../libgimpconfig/gimpconfigenums.h
 
 pdb_scripts = \
        pdbgen.pl       \
diff --git a/pdb/meson.build b/pdb/meson.build
index 66997ae21b..1a4947128a 100644
--- a/pdb/meson.build
+++ b/pdb/meson.build
@@ -65,9 +65,6 @@ endforeach
 enum_headers = [
   meson.source_root() + '/libgimpbase/gimpbaseenums.h',
   meson.source_root() + '/libgimpconfig/gimpconfigenums.h',
-  meson.source_root() + '/app/operations/operations-enums.h',
-  meson.source_root() + '/app/core/core-enums.h',
-  meson.source_root() + '/app/paint/paint-enums.h'
 ]
 
 # Perl environment


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]