[mutter] Use newer glib-genmarshal option



commit 41e22ab5927c1196e7f62cf875d6b0a9f64c7552
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Jul 11 11:30:08 2017 +0100

    Use newer glib-genmarshal option
    
    When building against a glib-genmarshal from GLib 2.54 we can use the
    `--prototypes` command line argument to generate the prototypes for the
    marshallers in the C source, and avoid a missing-prototypes compiler
    warning.

 clutter/clutter/Makefile.am.marshal |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter/Makefile.am.marshal b/clutter/clutter/Makefile.am.marshal
index f29629c..084dc55 100644
--- a/clutter/clutter/Makefile.am.marshal
+++ b/clutter/clutter/Makefile.am.marshal
@@ -34,6 +34,7 @@ stamp-marshal: $(marshal_list)
        $(AM_V_GEN)$(GLIB_GENMARSHAL) \
                --prefix=$(glib_marshal_prefix) \
                --header \
+               --valist-marshallers \
        $(marshal_list) > xgen-mh \
        && (cmp -s xgen-mh $(marshal_h) || cp -f xgen-mh $(marshal_h)) \
        && rm -f xgen-mh \
@@ -46,6 +47,8 @@ $(marshal_c): $(marshal_h)
        $(AM_V_GEN)$(GLIB_GENMARSHAL) \
                --prefix=$(glib_marshal_prefix) \
                --body \
+               --valist-marshallers \
+               --prototypes \
        $(marshal_list) > xgen-mc \
        && (cmp -s xgen-mc $(marshal_c) || cp -f xgen-mc $(marshal_c)) \
        && rm -f xgen-mc


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