[mutter] Add the group from cogl_get_option_group() to the GOptionContext
- From: Tomas Frydrych <tomasf src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [mutter] Add the group from cogl_get_option_group() to the GOptionContext
- Date: Fri, 12 Feb 2010 11:41:45 +0000 (UTC)
commit bd90fd7033b9af6d25fbc4fcd64f3ec1a5843c56
Author: Neil Roberts <neil linux intel com>
Date: Mon Feb 8 17:41:53 2010 +0000
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/core/main.c b/src/core/main.c
index e92f567..0672a0f 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))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]