Commit a8b7521b authored by Christian Kellner's avatar Christian Kellner

glue: maybe define the auto cleanup for GParamSpec

The auto-cleanup function for GParamSpec is only included in glib
starting 2.57.1. For older versions we define it ourselves.
parent e8c9f90c
......@@ -69,4 +69,8 @@ gboolean bolt_wire_conv_from_wire (BoltWireConv *conv,
G_DEFINE_AUTOPTR_CLEANUP_FUNC (BoltWireConv, bolt_wire_conv_unref)
#if !GLIB_CHECK_VERSION (2, 57, 1)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GParamSpec, g_param_spec_unref)
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