aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2010-10-29 00:52:20 +0800
committerTravis Reitter <travis.reitter@collabora.co.uk>2010-10-30 00:35:10 +0800
commit68e5dfaa9c4e5ee49efa13421eb9fc4dfdb04077 (patch)
treecd223c9c8a69ebf6b831ca84e701707a804e5486 /src
parent3afb04af72b24948e033a22800957a4564cce23c (diff)
downloadgsoc2013-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.c6
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;
}