summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2010-10-28 09:51:23 -0700
committerTravis Reitter <travis.reitter@collabora.co.uk>2010-10-29 09:35:10 -0700
commit3993edbacf01218a50b206f5f1fdd0ad981b576b (patch)
treee2f378c5785f40d87b4030e85fe3f406eefa4833 /src
parent9fa6495ab8e1900c020b0e6e265d380b68b405a7 (diff)
empathy-av: use the proper exit status
Diffstat (limited to 'src')
-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;
}