[empathy] empathy: use the proper exit status
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy: use the proper exit status
- Date: Fri, 29 Oct 2010 16:36:44 +0000 (UTC)
commit 68e5dfaa9c4e5ee49efa13421eb9fc4dfdb04077
Author: Travis Reitter <travis reitter collabora co uk>
Date: Thu Oct 28 09:52:20 2010 -0700
empathy: use the proper exit status
src/empathy.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy.c b/src/empathy.c
index df49d96..7a66d2d 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -698,6 +698,7 @@ int
main (int argc, char *argv[])
{
EmpathyApp *app;
+ gint retval;
g_thread_init (NULL);
g_type_init ();
@@ -715,11 +716,12 @@ main (int argc, char *argv[])
"flags", G_APPLICATION_HANDLES_COMMAND_LINE,
NULL);
- g_application_run (G_APPLICATION (app), argc, argv);
+ retval = g_application_run (G_APPLICATION (app), argc, argv);
notify_uninit ();
xmlCleanupParser ();
g_object_unref (app);
- return EXIT_SUCCESS;
+
+ return retval;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]