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

index ca8de87d95bee8f684a05abb648530ae5eb21d76..6a4688231297e3e2dc3b7e41557fc7e8d6d74814 100644 (file)
@@ -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;
 }