summaryrefslogtreecommitdiff
path: root/gio/gapplication.c
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2015-02-18 16:45:59 -0500
committerRyan Lortie <desrt@desrt.ca>2015-02-18 16:45:59 -0500
commit6ef0664017722a5f06739a03973c368c69c9746e (patch)
treea15c96823b7219faa10ff4201fd3d7e8c1b4dc19 /gio/gapplication.c
parent2d3d8cdce2e30978c259bdbc61c2af26ee081533 (diff)
downloadglib-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.c4
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);