[gimp/wip/schumaml/glib-genmarshal-prototypes] app, libgimp*: glib-genmarshal warns about --header --body




commit 530dc883cac153ef1f4b4a5d8adcc8a1a068d639
Author: Michael Schumacher <schumaml gmx de>
Date:   Sat Apr 17 22:49:59 2021 +0200

    app, libgimp*: glib-genmarshal warns about --header --body
    
    Using --header --body is mentioned as being deprecated, the way to get the desired result said to be
    --prototypes --body now.

 app/core/Makefile.am       | 2 +-
 libgimp/Makefile.am        | 2 +-
 libgimpwidgets/Makefile.am | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/core/Makefile.am b/app/core/Makefile.am
index ef8a83f2fe..3d2e9ed8b5 100644
--- a/app/core/Makefile.am
+++ b/app/core/Makefile.am
@@ -539,7 +539,7 @@ gimpmarshal.h: $(srcdir)/gimpmarshal.list
        && rm -f xgen-gmh xgen-gmh~
 
 gimpmarshal.c: gimpmarshal.h
-       $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=gimp_marshal $(srcdir)/gimpmarshal.list --header --body >> 
xgen-gmc \
+       $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=gimp_marshal $(srcdir)/gimpmarshal.list --prototypes --body 
xgen-gmc \
        && cp xgen-gmc $(@F) \
        && rm -f xgen-gmc xgen-gmc~
 
diff --git a/libgimp/Makefile.am b/libgimp/Makefile.am
index 329d68fc59..ce60e053a6 100644
--- a/libgimp/Makefile.am
+++ b/libgimp/Makefile.am
@@ -239,7 +239,7 @@ gimpuimarshal.h: $(srcdir)/gimpuimarshal.list
        && rm -f xgen-umh xgen-umh~
 
 gimpuimarshal.c: gimpuimarshal.h
-       $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_gimpui_marshal $(srcdir)/gimpuimarshal.list --header --body 
xgen-umc \
+       $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_gimpui_marshal $(srcdir)/gimpuimarshal.list --prototypes 
--body >> xgen-umc \
        && cp xgen-umc $(@F) \
        && rm -f xgen-umc xgen-umc~
 
diff --git a/libgimpwidgets/Makefile.am b/libgimpwidgets/Makefile.am
index ab0fde6430..3cdb159a3f 100644
--- a/libgimpwidgets/Makefile.am
+++ b/libgimpwidgets/Makefile.am
@@ -203,7 +203,7 @@ gimpwidgetsmarshal.h: $(srcdir)/gimpwidgetsmarshal.list
        && rm -f xgen-wmh xgen-wmh~
 
 gimpwidgetsmarshal.c: gimpwidgetsmarshal.h
-       $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list 
--header --body >> xgen-wmc \
+       $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list 
--prototypes --body >> xgen-wmc \
        && cp xgen-wmc $(@F) \
        && rm -f xgen-wmc xgen-wmc~
 


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