aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2010-10-29 00:51:23 +0800
committerTravis Reitter <travis.reitter@collabora.co.uk>2010-10-30 00:35:10 +0800
commit3993edbacf01218a50b206f5f1fdd0ad981b576b (patch)
treee2f378c5785f40d87b4030e85fe3f406eefa4833
parent9fa6495ab8e1900c020b0e6e265d380b68b405a7 (diff)
downloadgsoc2013-empathy-3993edbacf01218a50b206f5f1fdd0ad981b576b.tar
gsoc2013-empathy-3993edbacf01218a50b206f5f1fdd0ad981b576b.tar.gz
gsoc2013-empathy-3993edbacf01218a50b206f5f1fdd0ad981b576b.tar.bz2
gsoc2013-empathy-3993edbacf01218a50b206f5f1fdd0ad981b576b.tar.lz
gsoc2013-empathy-3993edbacf01218a50b206f5f1fdd0ad981b576b.tar.xz
gsoc2013-empathy-3993edbacf01218a50b206f5f1fdd0ad981b576b.tar.zst
gsoc2013-empathy-3993edbacf01218a50b206f5f1fdd0ad981b576b.zip
empathy-av: use the proper exit status
-rw-r--r--src/empathy-av.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/empathy-av.c b/src/empathy-av.c
index ca8de87d9..6a4688231 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;
}