Commit 4a3cdac6 authored by Michael Biebl's avatar Michael Biebl Committed by David Zeuthen

Use _polkit_agent_marshal prefix

Use _polkit_agent_marshal prefix with glib-genmarshal to hide the
(autogenerated) symbols. Update the code accordingly.
Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
parent 6a35bf61
......@@ -22,8 +22,8 @@ BUILT_SOURCES = \
$(NULL)
marshal.stamp : Makefile.am $(srcdir)/polkitagentmarshal.list
glib-genmarshal --prefix=polkit_agent_marshal $(srcdir)/polkitagentmarshal.list --header > polkitagentmarshal.h.tmp && mv polkitagentmarshal.h.tmp polkitagentmarshal.h
(echo "#include \"polkitagentmarshal.h\""; glib-genmarshal --prefix=polkit_agent_marshal $(srcdir)/polkitagentmarshal.list --body) > polkitagentmarshal.c.tmp && mv polkitagentmarshal.c.tmp polkitagentmarshal.c
glib-genmarshal --prefix=_polkit_agent_marshal $(srcdir)/polkitagentmarshal.list --header > polkitagentmarshal.h.tmp && mv polkitagentmarshal.h.tmp polkitagentmarshal.h
(echo "#include \"polkitagentmarshal.h\""; glib-genmarshal --prefix=_polkit_agent_marshal $(srcdir)/polkitagentmarshal.list --body) > polkitagentmarshal.c.tmp && mv polkitagentmarshal.c.tmp polkitagentmarshal.c
touch marshal.stamp
marshal_built_sources = polkitagentmarshal.h polkitagentmarshal.c
......
......@@ -156,7 +156,7 @@ polkit_agent_session_class_init (PolkitAgentSessionClass *klass)
0, /* class offset */
NULL, /* accumulator */
NULL, /* accumulator data */
polkit_agent_marshal_VOID__STRING_BOOLEAN,
_polkit_agent_marshal_VOID__STRING_BOOLEAN,
G_TYPE_NONE,
2,
G_TYPE_STRING,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment