GOptionContext: Don't crash without main group
authorMatthias Clasen <mclasen@redhat.com>
Mon, 27 Jul 2015 11:52:27 +0000 (07:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 Jul 2015 11:53:40 +0000 (07:53 -0400)
commit08a3f3f3d2190c7ff393ea13c5a310ba8a13a2e0
tree4f2db946297fd56e5510652851e9700053290272
parent17871e6881beb401eebb8b05eccb01490cfa85b6
GOptionContext: Don't crash without main group

This was introduced in 126c685f4aa and caused e.g. gdbus
to crash when called without arguments.

https://bugzilla.gnome.org/show_bug.cgi?id=752210
glib/goption.c