summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-01-22 15:27:11 +0100
committerAlexander Larsson <alexl@redhat.com>2016-01-22 15:27:11 +0100
commit194eb7a09c8baa61e9715a117d9376d43d9a86c5 (patch)
tree6cf013197f6d3ae33597fe5349de6340b7f31151
parent3c470803d08477dab9c7faada29a5f4c59dd519e (diff)
downloadlibglnx-194eb7a09c8baa61e9715a117d9376d43d9a86c5.tar.gz
Add autoptr support for GZlib*
-rw-r--r--glnx-backport-autocleanups.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/glnx-backport-autocleanups.h b/glnx-backport-autocleanups.h
index 9e90fa8..cc24961 100644
--- a/glnx-backport-autocleanups.h
+++ b/glnx-backport-autocleanups.h
@@ -105,6 +105,8 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GTlsDatabase, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GTlsInteraction, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDBusConnection, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDBusMessage, g_object_unref)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GZlibCompressor, g_object_unref)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GZlibDecompressor, g_object_unref)
#endif