summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2015-11-23 14:47:34 -0500
committerMatthew Barnes <mbarnes@redhat.com>2015-11-23 14:47:34 -0500
commit7e24c244ffb3c1b7825c9e45dbf2806b86e46f95 (patch)
treed35d38c72b7343fa9fc249b2728d1d681bdad8c7
parent825d308b04771096329c6d29772ee1243f4cb2f4 (diff)
downloadlibglnx-7e24c244ffb3c1b7825c9e45dbf2806b86e46f95.tar.gz
Backport g_autoptr support for GFileOutputStream
-rw-r--r--glnx-backport-autocleanups.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/glnx-backport-autocleanups.h b/glnx-backport-autocleanups.h
index ee67ba2..06c76cf 100644
--- a/glnx-backport-autocleanups.h
+++ b/glnx-backport-autocleanups.h
@@ -98,6 +98,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileIOStream, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileInfo, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileInputStream, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileMonitor, g_object_unref)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileOutputStream, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GInputStream, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMemoryInputStream, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMemoryOutputStream, g_object_unref)