This would allow bindings to use _get_option_group() functions, which would then allow them to use GOption parsing.
This also adds introspection annotations to g_option_context_add_group(), g_option_context_set_main_group() and g_option_context_get_main_group().
https://bugzilla.gnome.org/show_bug.cgi?id=743349
43df97a goption: Add boxed type for GOptionGroup
glib/goption.c | 85 +++++++++++++++++++++++++++++++++++++-------------
glib/goption.h | 6 +++-
gobject/gboxed.c | 2 ++
gobject/glib-types.h | 11 +++++++
4 files changed, 81 insertions(+), 23 deletions(-)
Upstream: git.gnome.org