[gimp] libgimpwidgets: do not export GResource generated functions.



commit e4cd2405a93c880689829b63aa3f2fa85ed5eb66
Author: Jehan <jehan girinstud io>
Date:   Sun Jul 31 23:40:20 2022 +0200

    libgimpwidgets: do not export GResource generated functions.
    
    This explains why the defcheck script never complained for the 2
    *_get_resource() functions removed in my previous commit. These were
    exported in the libgimpwidgets library on the autotools build (and not
    on the meson build).
    
    Fix the discrepancy by not exporting these symbols on autotools as well,
    as I don't think this is needed on public API.
    
    This should now fix the distcheck build for autotools.

 libgimpwidgets/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/libgimpwidgets/Makefile.am b/libgimpwidgets/Makefile.am
index f395f05ef1..d9caa64854 100644
--- a/libgimpwidgets/Makefile.am
+++ b/libgimpwidgets/Makefile.am
@@ -214,21 +214,25 @@ gimpwidgetsmarshal.c: gimpwidgetsmarshal.h
 
 gimp-color-picker-cursors.h: $(top_builddir)/cursors/gimp-color-picker-cursors.gresource.xml
        $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \
+         --internal \
          --sourcedir=$(top_srcdir)/cursors --generate-header \
          --target=$@ $(top_builddir)/cursors/gimp-color-picker-cursors.gresource.xml
 
 gimp-color-picker-cursors.c: gimp-color-picker-cursors.h
        $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \
+         --internal \
          --sourcedir=$(top_srcdir)/cursors --generate-source \
          --target=$@ $(top_builddir)/cursors/gimp-color-picker-cursors.gresource.xml
 
 gimp-icon-pixbufs.h: $(top_builddir)/icons/Color/gimp-icon-pixbufs.gresource.xml
        $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \
+         --internal \
          --sourcedir=$(top_builddir)/icons/Color --generate-header \
          --target=$@ $(top_builddir)/icons/Color/gimp-icon-pixbufs.gresource.xml
 
 gimp-icon-pixbufs.c: gimp-icon-pixbufs.h
        $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \
+         --internal \
          --sourcedir=$(top_builddir)/icons/Color --generate-source \
          --target=$@ $(top_builddir)/icons/Color/gimp-icon-pixbufs.gresource.xml
 


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