diff options
author | Ryan Lortie <desrt@desrt.ca> | 2015-02-18 16:45:59 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2015-02-18 16:45:59 -0500 |
commit | 6ef0664017722a5f06739a03973c368c69c9746e (patch) | |
tree | a15c96823b7219faa10ff4201fd3d7e8c1b4dc19 /gio/gapplication.c | |
parent | 2d3d8cdce2e30978c259bdbc61c2af26ee081533 (diff) | |
download | glib-6ef0664017722a5f06739a03973c368c69c9746e.tar.gz |
gapplication: stop using deprecated API
More fallout from the GOptionGroup binding patch.
Diffstat (limited to 'gio/gapplication.c')
-rw-r--r-- | gio/gapplication.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gapplication.c b/gio/gapplication.c index e51f0cbe7..c7e7a3c8e 100644 --- a/gio/gapplication.c +++ b/gio/gapplication.c @@ -1213,9 +1213,9 @@ g_application_finalize (GObject *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) - g_option_group_free (application->priv->main_options); + g_option_group_unref (application->priv->main_options); if (application->priv->packed_options) { g_slist_free_full (application->priv->option_strings, g_free); |