mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
gapplication: stop using deprecated API
More fallout from the GOptionGroup binding patch.
This commit is contained in:
parent
2d3d8cdce2
commit
6ef0664017
@ -1213,9 +1213,9 @@ g_application_finalize (GObject *object)
|
|||||||
{
|
{
|
||||||
GApplication *application = G_APPLICATION (object);
|
GApplication *application = G_APPLICATION (object);
|
||||||
|
|
||||||
g_slist_free_full (application->priv->option_groups, (GDestroyNotify) g_option_group_free);
|
g_slist_free_full (application->priv->option_groups, (GDestroyNotify) g_option_group_unref);
|
||||||
if (application->priv->main_options)
|
if (application->priv->main_options)
|
||||||
g_option_group_free (application->priv->main_options);
|
g_option_group_unref (application->priv->main_options);
|
||||||
if (application->priv->packed_options)
|
if (application->priv->packed_options)
|
||||||
{
|
{
|
||||||
g_slist_free_full (application->priv->option_strings, g_free);
|
g_slist_free_full (application->priv->option_strings, g_free);
|
||||||
|
Loading…
Reference in New Issue
Block a user