diff options
author | Travis Reitter <travis.reitter@collabora.co.uk> | 2010-10-29 00:52:20 +0800 |
---|---|---|
committer | Travis Reitter <travis.reitter@collabora.co.uk> | 2010-10-30 00:35:10 +0800 |
commit | 68e5dfaa9c4e5ee49efa13421eb9fc4dfdb04077 (patch) | |
tree | cd223c9c8a69ebf6b831ca84e701707a804e5486 /src | |
parent | 3afb04af72b24948e033a22800957a4564cce23c (diff) | |
download | gsoc2013-empathy-68e5dfaa9c4e5ee49efa13421eb9fc4dfdb04077.tar gsoc2013-empathy-68e5dfaa9c4e5ee49efa13421eb9fc4dfdb04077.tar.gz gsoc2013-empathy-68e5dfaa9c4e5ee49efa13421eb9fc4dfdb04077.tar.bz2 gsoc2013-empathy-68e5dfaa9c4e5ee49efa13421eb9fc4dfdb04077.tar.lz gsoc2013-empathy-68e5dfaa9c4e5ee49efa13421eb9fc4dfdb04077.tar.xz gsoc2013-empathy-68e5dfaa9c4e5ee49efa13421eb9fc4dfdb04077.tar.zst gsoc2013-empathy-68e5dfaa9c4e5ee49efa13421eb9fc4dfdb04077.zip |
empathy: use the proper exit status
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/empathy.c b/src/empathy.c index df49d96c9..7a66d2d67 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -698,6 +698,7 @@ int main (int argc, char *argv[]) { EmpathyApp *app; + gint retval; g_thread_init (NULL); g_type_init (); @@ -715,11 +716,12 @@ main (int argc, char *argv[]) "flags", G_APPLICATION_HANDLES_COMMAND_LINE, NULL); - g_application_run (G_APPLICATION (app), argc, argv); + retval = g_application_run (G_APPLICATION (app), argc, argv); notify_uninit (); xmlCleanupParser (); g_object_unref (app); - return EXIT_SUCCESS; + + return retval; } |