From bd90fd7033b9af6d25fbc4fcd64f3ec1a5843c56 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Mon, 8 Feb 2010 17:41:53 +0000 Subject: [PATCH] Add the group from cogl_get_option_group() to the GOptionContext Otherwise it's not possible to use the COGL_DEBUG environment variable. https://bugzilla.gnome.org/show_bug.cgi?id=609350 --- src/core/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/main.c b/src/core/main.c index e92f56762..0672a0fc8 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -341,6 +341,7 @@ meta_parse_options (int *argc, char ***argv, ctx = g_option_context_new (NULL); g_option_context_add_main_entries (ctx, options, "mutter"); g_option_context_add_group (ctx, clutter_get_option_group_without_init ()); + g_option_context_add_group (ctx, cogl_get_option_group ()); if (!g_option_context_parse (ctx, argc, argv, &error)) {