[libglnx] Backport g_autoptr support for GFileOutputStream



commit 7e24c244ffb3c1b7825c9e45dbf2806b86e46f95
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Nov 23 14:47:34 2015 -0500

    Backport g_autoptr support for GFileOutputStream

 glnx-backport-autocleanups.h |    1 +
 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]