diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2018-05-29 09:28:38 +0000 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2018-05-29 09:28:38 +0000 |
commit | e1a78cf2f5351d5394ccfb79f3f5a7b4917f73f3 (patch) | |
tree | bda8676cd970dc0224f41978407b56a6ce898256 | |
parent | 97b5c08d2f93dc93ba296a84bbd2a5ab9bd8fc97 (diff) | |
parent | 00ad6ee739d0343fb05be169e724a7dd71e0eb49 (diff) | |
download | libglnx-e1a78cf2f5351d5394ccfb79f3f5a7b4917f73f3.tar.gz |
Merge branch 'backport-autoptr-support' into 'master'
Add g_autoptr support for GAsyncResult,GMount,GVolumeMonitor
See merge request GNOME/libglnx!1
-rw-r--r-- | glnx-backport-autocleanups.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glnx-backport-autocleanups.h b/glnx-backport-autocleanups.h index cc24961..b5f3475 100644 --- a/glnx-backport-autocleanups.h +++ b/glnx-backport-autocleanups.h @@ -82,6 +82,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSubprocess, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSubprocessLauncher, g_object_unref) /* Add GObject-based types as needed. */ +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GAsyncResult, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GCancellable, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GConverter, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GConverterOutputStream, g_object_unref) @@ -96,6 +97,7 @@ 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) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMount, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GOutputStream, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSocket, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSocketAddress, g_object_unref) @@ -105,6 +107,7 @@ 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(GVolumeMonitor, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GZlibCompressor, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GZlibDecompressor, g_object_unref) |