[empathy] empathy-debugger: use the proper exit status
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy-debugger: use the proper exit status
- Date: Fri, 29 Oct 2010 16:36:39 +0000 (UTC)
commit 3afb04af72b24948e033a22800957a4564cce23c
Author: Travis Reitter <travis reitter collabora co uk>
Date: Thu Oct 28 09:50:29 2010 -0700
empathy-debugger: use the proper exit status
src/empathy-debugger.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-debugger.c b/src/empathy-debugger.c
index a7ebdf1..cb28a59 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]