]> git.0d.be Git - empathy.git/commitdiff
empathy-debugger: use the proper exit status
authorTravis Reitter <travis.reitter@collabora.co.uk>
Thu, 28 Oct 2010 16:50:29 +0000 (09:50 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Fri, 29 Oct 2010 16:35:10 +0000 (09:35 -0700)
src/empathy-debugger.c

index a7ebdf117aa27f23e863118ee0b3525622773113..cb28a599dc67529b15a89c7823059580c1f62862 100644 (file)
@@ -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;
 }