[empathy] empathy-accounts: use the proper exit status
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy-accounts: use the proper exit status
- Date: Fri, 29 Oct 2010 16:36:24 +0000 (UTC)
commit 9fa6495ab8e1900c020b0e6e265d380b68b405a7
Author: Travis Reitter <travis reitter collabora co uk>
Date: Thu Oct 28 09:48:29 2010 -0700
empathy-accounts: use the proper exit status
src/empathy-accounts.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-accounts.c b/src/empathy-accounts.c
index 8f316f4..6d0561b 100644
--- a/src/empathy-accounts.c
+++ b/src/empathy-accounts.c
@@ -226,6 +226,7 @@ main (int argc, char *argv[])
TpAccountManager *account_manager;
GtkApplication *app;
GObjectClass *app_class;
+ gint retval;
g_thread_init (NULL);
empathy_init ();
@@ -251,10 +252,10 @@ main (int argc, char *argv[])
g_signal_connect (app, "command-line", G_CALLBACK (app_command_line_cb),
NULL);
- g_application_run (G_APPLICATION (app), argc, argv);
+ retval = g_application_run (G_APPLICATION (app), argc, argv);
g_object_unref (account_manager);
g_object_unref (app);
- return EXIT_SUCCESS;
+ return retval;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]