projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7a918d
)
GApplication: exit_status unset in one branch
author
Ryan Lortie
<desrt@desrt.ca>
Wed, 27 Oct 2010 13:26:01 +0000
(09:26 -0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Wed, 27 Oct 2010 13:26:01 +0000
(09:26 -0400)
Closes #633206
gio/gapplication.c
patch
|
blob
|
history
diff --git
a/gio/gapplication.c
b/gio/gapplication.c
index
d81ea80
..
e03d648
100644
(file)
--- a/
gio/gapplication.c
+++ b/
gio/gapplication.c
@@
-227,7
+227,7
@@
g_application_real_local_command_line (GApplication *application,
if (application->priv->flags & G_APPLICATION_IS_SERVICE)
{
- if (
n_args > 1
)
+ if (
(*exit_status = n_args > 1)
)
{
g_printerr ("GApplication service mode takes no arguments.\n");
application->priv->flags &= ~G_APPLICATION_IS_SERVICE;