Avoid an interaction between GApplication and GOption
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Apr 2011 11:13:54 +0000 (07:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Apr 2011 11:19:38 +0000 (07:19 -0400)
commitedaf99be8662bf19a67ef5e62b8402764197d0c6
tree4667fa1f19d62d5a1482edc60deeea02f778df0a
parent3498d58289ed833aeae59bfc76db0f5fa5840481
Avoid an interaction between GApplication and GOption

When using GOption to handle commandlines, we need to disable
the builtin help handling, since it calls exit(). Also mention
this particular pitfall in the docs.
gio/gapplicationcommandline.c
gio/tests/gapplication-example-cmdline3.c