aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2010-10-29 00:50:03 +0800
committerTravis Reitter <travis.reitter@collabora.co.uk>2010-10-30 00:35:10 +0800
commitd304979d6dc8bfb35d2f4ecb69456868d4d89064 (patch)
tree142f420f34feeb88ad7df32ac0236ce331ae5f00
parent3993edbacf01218a50b206f5f1fdd0ad981b576b (diff)
downloadgsoc2013-empathy-d304979d6dc8bfb35d2f4ecb69456868d4d89064.tar
gsoc2013-empathy-d304979d6dc8bfb35d2f4ecb69456868d4d89064.tar.gz
gsoc2013-empathy-d304979d6dc8bfb35d2f4ecb69456868d4d89064.tar.bz2
gsoc2013-empathy-d304979d6dc8bfb35d2f4ecb69456868d4d89064.tar.lz
gsoc2013-empathy-d304979d6dc8bfb35d2f4ecb69456868d4d89064.tar.xz
gsoc2013-empathy-d304979d6dc8bfb35d2f4ecb69456868d4d89064.tar.zst
gsoc2013-empathy-d304979d6dc8bfb35d2f4ecb69456868d4d89064.zip
empathy-chat: use the proper exit status
-rw-r--r--src/empathy-chat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/empathy-chat.c b/src/empathy-chat.c
index 116f153f0..9bfc6b816 100644
--- a/src/empathy-chat.c
+++ b/src/empathy-chat.c
@@ -83,6 +83,7 @@ main (int argc,
GError *error = NULL;
EmpathyChatManager *chat_mgr;
EmpathyIdle *idle;
+ gint retval;
/* Init */
g_thread_init (NULL);
@@ -138,7 +139,7 @@ main (int argc,
DEBUG ("Waiting for text channels to handle");
- g_application_run (G_APPLICATION (app), argc, argv);
+ retval = g_application_run (G_APPLICATION (app), argc, argv);
g_object_unref (app);
g_object_unref (idle);
@@ -148,5 +149,5 @@ main (int argc,
g_object_unref (debug_sender);
#endif
- return EXIT_SUCCESS;
+ return retval;
}