mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
autocleanups: Use g_option_context_unref()
This fixes a use of a deprecated API.
This commit is contained in:
parent
fcb30409ec
commit
619832f729
@ -41,7 +41,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMarkupParseContext, g_markup_parse_context_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(gchar, g_free)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GNode, g_node_destroy)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GOptionContext, g_option_context_free)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GOptionGroup, g_option_group_free)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GOptionGroup, g_option_group_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GPatternSpec, g_pattern_spec_free)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GQueue, g_queue_free)
|
||||
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GQueue, g_queue_clear)
|
||||
|
Loading…
Reference in New Issue
Block a user