diff --git a/src/gpm-prefs.c b/src/gpm-prefs.c index 69848a2e..1c5b1d2c 100644 --- a/src/gpm-prefs.c +++ b/src/gpm-prefs.c @@ -84,6 +84,7 @@ main (int argc, char **argv) g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE); g_option_context_add_group (context, gtk_get_option_group (FALSE)); g_option_context_parse (context, &argc, &argv, NULL); + g_option_context_free (context); gdk_init (&argc, &argv); app = gtk_application_new("org.mate.PowerManager.Preferences", 0); @@ -103,8 +104,5 @@ main (int argc, char **argv) g_object_unref (app); -/* seems to not work... - g_option_context_free (context); */ - return status; }