mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
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.
This commit is contained in:
@@ -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(GRemoteActionGroup, g_object_unref)
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GResolver, 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(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(GSettingsSchema, g_settings_schema_unref)
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSettings, g_object_unref)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSettings, g_object_unref)
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSimpleActionGroup, g_object_unref)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSimpleActionGroup, g_object_unref)
|
||||||
|
@@ -169,6 +169,7 @@ GSettingsBackend * g_null_settings_backend_new (void);
|
|||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
GSettingsBackend * g_memory_settings_backend_new (void);
|
GSettingsBackend * g_memory_settings_backend_new (void);
|
||||||
|
|
||||||
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSettingsBackend, g_object_unref)
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __G_SETTINGS_BACKEND_H__ */
|
#endif /* __G_SETTINGS_BACKEND_H__ */
|
||||||
|
Reference in New Issue
Block a user