summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaotian Wu <[email protected]>2023-10-03 23:51:39 +0800
committerXiaotian Wu <[email protected]>2023-10-03 23:51:39 +0800
commit94f6e6ae535eff6fd5ffb16f589bce7664fa15b1 (patch)
tree7546a603d5bd25e56a7c15060c7097f13e6f084a
parent93177d173fe3d6054491ab080aff421ad45eba01 (diff)
downloadmate-session-manager-94f6e6ae535eff6fd5ffb16f589bce7664fa15b1.tar.bz2
mate-session-manager-94f6e6ae535eff6fd5ffb16f589bce7664fa15b1.tar.xz
updatewip/gdbus
-rw-r--r--mate-session/Makefile.am7
-rw-r--r--mate-session/gsm-marshal.list3
2 files changed, 10 insertions, 0 deletions
diff --git a/mate-session/Makefile.am b/mate-session/Makefile.am
index ffd88d1..26c5509 100644
--- a/mate-session/Makefile.am
+++ b/mate-session/Makefile.am
@@ -150,6 +150,13 @@ org.gnome.SessionManager.Presence.h: org.gnome.SessionManager.Presence.xml Makef
org.gnome.SessionManager.Presence.c: org.gnome.SessionManager.Presence.h
@: # generated as a side-effect
+gsm-marshal.c: gsm-marshal.list
+ $(AM_V_GEN)echo "#include \"gsm-marshal.h\"" > $@ && \
+ $(GLIB_GENMARSHAL) $< --prefix=gsm_marshal --body >> $@
+
+gsm-marshal.h: gsm-marshal.list
+ $(AM_V_GEN)$(GLIB_GENMARSHAL) $< --prefix=gsm_marshal --header > $@
+
BUILT_SOURCES = \
gsm-marshal.c \
gsm-marshal.h \
diff --git a/mate-session/gsm-marshal.list b/mate-session/gsm-marshal.list
new file mode 100644
index 0000000..f31a8b1
--- /dev/null
+++ b/mate-session/gsm-marshal.list
@@ -0,0 +1,3 @@
+BOOLEAN:POINTER
+VOID:BOOLEAN,BOOLEAN,BOOLEAN,STRING
+VOID:BOOLEAN,BOOLEAN,POINTER