From 4e0a2596d4575f859f9f8638a74bed4f396ebc0f Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 29 Jul 2019 17:38:04 +0200 Subject: Fix build warning on marshalling Replace deprecated --header --body options inspired by: https://gitlab.gnome.org/GNOME/evince/commit/f6952c2 --- cut-n-paste/toolbar-editor/Makefile.am | 2 +- libview/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cut-n-paste/toolbar-editor/Makefile.am b/cut-n-paste/toolbar-editor/Makefile.am index b3e843ec..8743d46f 100644 --- a/cut-n-paste/toolbar-editor/Makefile.am +++ b/cut-n-paste/toolbar-editor/Makefile.am @@ -50,7 +50,7 @@ stamp-eggmarshalers.h: eggmarshalers.list eggmarshalers.c: stamp-eggmarshalers.c @true stamp-eggmarshalers.c: eggmarshalers.list - $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header --body > eggmarshalers.c \ + $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --body --prototypes > eggmarshalers.c \ && echo timestamp > $(@F) eggtypebuiltins.c: stamp-eggtypebuiltins.c diff --git a/libview/Makefile.am b/libview/Makefile.am index b382810a..be5f7264 100644 --- a/libview/Makefile.am +++ b/libview/Makefile.am @@ -101,7 +101,7 @@ ev-view-marshal.h: $(srcdir)/ev-view-marshal.list ev-view-marshal.c: $(srcdir)/ev-view-marshal.list echo '#include ' > ev-view-marshal.c - $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --header --internal --body >> $@ + $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --internal --body --prototypes >> $@ ev-view-type-builtins.h: stamp-ev-view-type-builtins.h @true -- cgit v1.2.1