mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +02:00
gapplication: stop using deprecated API
More fallout from the GOptionGroup binding patch.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user