aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-chat.c')
-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;
}