[glib: 1/2] gio: Add missing autocleanup definition for GResource
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gio: Add missing autocleanup definition for GResource
- Date: Sun, 8 Jul 2018 10:42:36 +0000 (UTC)
commit 657be4f5fce5bf16b66751a33d7e1c719bf4f96b
Author: Adrian Perez de Castro <aperez igalia com>
Date: Sat Jul 7 19:44:19 2018 +0300
gio: Add missing autocleanup definition for GResource
Fixes #1435
gio/gio-autocleanups.h | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gio/gio-autocleanups.h b/gio/gio-autocleanups.h
index 624702289..dcba4d976 100644
--- a/gio/gio-autocleanups.h
+++ b/gio/gio-autocleanups.h
@@ -108,6 +108,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GProxy, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GProxyResolver, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRemoteActionGroup, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GResolver, g_object_unref)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GResource, g_resource_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSeekable, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSettingsBackend, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSettingsSchema, g_settings_schema_unref)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]