aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2010-10-29 00:50:29 +0800
committerTravis Reitter <travis.reitter@collabora.co.uk>2010-10-30 00:35:10 +0800
commit3afb04af72b24948e033a22800957a4564cce23c (patch)
tree80cf1130bf32f1d3b0448c1447074437c379dacb
parentd304979d6dc8bfb35d2f4ecb69456868d4d89064 (diff)
downloadgsoc2013-empathy-3afb04af72b24948e033a22800957a4564cce23c.tar.gz
gsoc2013-empathy-3afb04af72b24948e033a22800957a4564cce23c.tar.zst
gsoc2013-empathy-3afb04af72b24948e033a22800957a4564cce23c.zip
empathy-debugger: use the proper exit status
-rw-r--r--src/empathy-debugger.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/empathy-debugger.c b/src/empathy-debugger.c
index a7ebdf117..cb28a599d 100644
--- a/src/empathy-debugger.c
+++ b/src/empathy-debugger.c
@@ -53,6 +53,7 @@ main (int argc,
char **argv)
{
GtkApplication *app;
+ gint retval;
g_thread_init (NULL);
empathy_gtk_init ();
@@ -66,8 +67,9 @@ main (int argc,
gtk_window_set_default_icon_name ("empathy");
textdomain (GETTEXT_PACKAGE);
- g_application_run (G_APPLICATION (app), argc, argv);
+ retval = g_application_run (G_APPLICATION (app), argc, argv);
g_object_unref (app);
- return EXIT_SUCCESS;
+
+ return retval;
}