[empathy] empathy-av: use the proper exit status



commit 3993edbacf01218a50b206f5f1fdd0ad981b576b
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Thu Oct 28 09:51:23 2010 -0700

    empathy-av: use the proper exit status

 src/empathy-av.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-av.c b/src/empathy-av.c
index ca8de87..6a46882 100644
--- a/src/empathy-av.c
+++ b/src/empathy-av.c
@@ -107,6 +107,7 @@ main (int argc,
   TpDebugSender *debug_sender;
 #endif
   GError *error = NULL;
+  gint retval;
 
   /* Init */
   g_thread_init (NULL);
@@ -154,7 +155,7 @@ main (int argc,
   g_application_set_inactivity_timeout (G_APPLICATION (app), TIMEOUT * 1000);
   g_application_release (G_APPLICATION (app));
 
-  g_application_run (G_APPLICATION (app), argc, argv);
+  retval = g_application_run (G_APPLICATION (app), argc, argv);
 
   g_object_unref (app);
 
@@ -162,5 +163,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]