[empathy] empathy-chat: use the proper exit status
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy-chat: use the proper exit status
- Date: Fri, 29 Oct 2010 16:36:34 +0000 (UTC)
commit d304979d6dc8bfb35d2f4ecb69456868d4d89064
Author: Travis Reitter <travis reitter collabora co uk>
Date: Thu Oct 28 09:50:03 2010 -0700
empathy-chat: use the proper exit status
src/empathy-chat.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-chat.c b/src/empathy-chat.c
index 116f153..9bfc6b8 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]