diff options
Diffstat (limited to 'src/empathy.c')
-rw-r--r-- | src/empathy.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/empathy.c b/src/empathy.c index df49d96c9..7a66d2d67 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -698,6 +698,7 @@ int main (int argc, char *argv[]) { EmpathyApp *app; + gint retval; g_thread_init (NULL); g_type_init (); @@ -715,11 +716,12 @@ main (int argc, char *argv[]) "flags", G_APPLICATION_HANDLES_COMMAND_LINE, NULL); - g_application_run (G_APPLICATION (app), argc, argv); + retval = g_application_run (G_APPLICATION (app), argc, argv); notify_uninit (); xmlCleanupParser (); g_object_unref (app); - return EXIT_SUCCESS; + + return retval; } |