GApplication: allow handles_commandline and service
authorRyan Lortie <desrt@desrt.ca>
Fri, 10 Jan 2014 16:17:44 +0000 (11:17 -0500)
committerRyan Lortie <desrt@desrt.ca>
Fri, 10 Jan 2014 16:17:44 +0000 (11:17 -0500)
commitd3017967d8123e800fd593e22fda1c0d7f40071f
tree191c482e67eeafac65b3052e50b571267e13d0a4
parente8b7dd32fcfb4be82d3d78561fc36fbc560f3394
GApplication: allow handles_commandline and service

The default local_command_line handler has a fast return path for the
case that we handle the commandline by forwarding it to the primary
instance, but this doesn't account for the fact that we may want to
become a service.

Allow for this by making sure we don't take the fast path of the service
flag is set.
gio/gapplication.c