+2005-03-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/goption.c (g_option_context_set_main_group): Warn
+ if there already is a main group. (#170445, Jeff Franks)
+
Sun Mar 13 22:01:17 2005 Manish Singh <yosh@gimp.org>
* tests/array-test.c: delete a bunch of dead code.
+2005-03-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/goption.c (g_option_context_set_main_group): Warn
+ if there already is a main group. (#170445, Jeff Franks)
+
Sun Mar 13 22:01:17 2005 Manish Singh <yosh@gimp.org>
* tests/array-test.c: delete a bunch of dead code.
+2005-03-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/goption.c (g_option_context_set_main_group): Warn
+ if there already is a main group. (#170445, Jeff Franks)
+
Sun Mar 13 22:01:17 2005 Manish Singh <yosh@gimp.org>
* tests/array-test.c: delete a bunch of dead code.
+2005-03-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/goption.c (g_option_context_set_main_group): Warn
+ if there already is a main group. (#170445, Jeff Franks)
+
Sun Mar 13 22:01:17 2005 Manish Singh <yosh@gimp.org>
* tests/array-test.c: delete a bunch of dead code.
g_return_if_fail (context != NULL);
g_return_if_fail (group != NULL);
+ if (context->main_group)
+ {
+ g_warning ("This GOptionContext already has a main group");
+
+ return;
+ }
+
context->main_group = group;
}