aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts.c
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2010-10-29 00:48:29 +0800
committerTravis Reitter <travis.reitter@collabora.co.uk>2010-10-30 00:35:10 +0800
commit9fa6495ab8e1900c020b0e6e265d380b68b405a7 (patch)
tree55830e6d8950f43116eb597cc8d86498171b926c /src/empathy-accounts.c
parente7568fd64d8ec733efea5f6563bf7d286319edfc (diff)
downloadgsoc2013-empathy-9fa6495ab8e1900c020b0e6e265d380b68b405a7.tar
gsoc2013-empathy-9fa6495ab8e1900c020b0e6e265d380b68b405a7.tar.gz
gsoc2013-empathy-9fa6495ab8e1900c020b0e6e265d380b68b405a7.tar.bz2
gsoc2013-empathy-9fa6495ab8e1900c020b0e6e265d380b68b405a7.tar.lz
gsoc2013-empathy-9fa6495ab8e1900c020b0e6e265d380b68b405a7.tar.xz
gsoc2013-empathy-9fa6495ab8e1900c020b0e6e265d380b68b405a7.tar.zst
gsoc2013-empathy-9fa6495ab8e1900c020b0e6e265d380b68b405a7.zip
empathy-accounts: use the proper exit status
Diffstat (limited to 'src/empathy-accounts.c')
-rw-r--r--src/empathy-accounts.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/empathy-accounts.c b/src/empathy-accounts.c
index 8f316f4ac..6d0561b14 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;
}