[evince/wip/gpoo/gtk4-rebase-port: 83/89] meson: enable new marshaler




commit 1091159d1b8ea60a611b6e006eb6dffa2837f7f2
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date:   Sat Aug 28 16:06:39 2021 +0800

    meson: enable new marshaler
    
    Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>

 shell/ev-shell-marshal.list |  1 +
 shell/meson.build           | 12 ++++++++++++
 2 files changed, 13 insertions(+)
---
diff --git a/shell/ev-shell-marshal.list b/shell/ev-shell-marshal.list
new file mode 100644
index 000000000..de23908fa
--- /dev/null
+++ b/shell/ev-shell-marshal.list
@@ -0,0 +1 @@
+VOID:DOUBLE,DOUBLE,POINTER
diff --git a/shell/meson.build b/shell/meson.build
index b2808a500..7ad6b7522 100644
--- a/shell/meson.build
+++ b/shell/meson.build
@@ -48,6 +48,18 @@ evince_sources += gnome.compile_resources(
   dependencies: resource_data,
 )
 
+marshal = 'ev-shell-marshal'
+
+marshal_sources = gnome.genmarshal(
+  marshal,
+  sources: marshal + '.list',
+  prefix: 'ev_shell_marshal',
+  internal: true,
+  extra_args: '--prototypes',
+)
+
+evince_sources += marshal_sources
+
 evince_deps = [
   gdk_pixbuf_dep,
   gnome_desktop_dep,


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