[glib/wip/gsettingsbackendchangeset: 185/191] GSettingsBackend: move auto-cleanup definition
- From: Allison Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gsettingsbackendchangeset: 185/191] GSettingsBackend: move auto-cleanup definition
- Date: Mon, 25 Apr 2016 15:10:38 +0000 (UTC)
commit 1ac25793bd857c25e9e097c823d8dfe4c2d271d3
Author: Allison Ryan Lortie <desrt desrt ca>
Date: Wed Jan 13 12:17:55 2016 -0500
GSettingsBackend: move auto-cleanup definition
GSettingsBackend is not part of the public API of GLib, so its
g_autoptr() declarations should not be included in the public headers.
Move them into gsettingsbackend.h.
gio/gio-autocleanups.h | 1 -
gio/gsettingsbackend.h | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gio-autocleanups.h b/gio/gio-autocleanups.h
index 60ab3ba..4bac783 100644
--- a/gio/gio-autocleanups.h
+++ b/gio/gio-autocleanups.h
@@ -108,7 +108,6 @@ 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(GSeekable, g_object_unref)
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSettingsBackend, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSettingsSchema, g_settings_schema_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSettings, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSimpleActionGroup, g_object_unref)
diff --git a/gio/gsettingsbackend.h b/gio/gsettingsbackend.h
index f004711..86e0431 100644
--- a/gio/gsettingsbackend.h
+++ b/gio/gsettingsbackend.h
@@ -169,6 +169,7 @@ GSettingsBackend * g_null_settings_backend_new (void);
GLIB_AVAILABLE_IN_ALL
GSettingsBackend * g_memory_settings_backend_new (void);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSettingsBackend, g_object_unref)
G_END_DECLS
#endif /* __G_SETTINGS_BACKEND_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]