summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-07-29 17:38:04 +0200
committerraveit65 <[email protected]>2019-08-01 10:01:51 +0200
commit4e0a2596d4575f859f9f8638a74bed4f396ebc0f (patch)
tree1ae6ca8c5622e89f2386aec3e19c69983b0a8162
parent82cf3450ad3b5b5ba9c7c575bd7a6f93a5317e7d (diff)
downloadatril-4e0a2596d4575f859f9f8638a74bed4f396ebc0f.tar.bz2
atril-4e0a2596d4575f859f9f8638a74bed4f396ebc0f.tar.xz
Fix build warning on marshalling
Replace deprecated --header --body options inspired by: https://gitlab.gnome.org/GNOME/evince/commit/f6952c2
-rw-r--r--cut-n-paste/toolbar-editor/Makefile.am2
-rw-r--r--libview/Makefile.am2
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 <config.h>' > 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