diff --git a/rugby.c b/rugby.c index 68d0873dd8091b43c4a74accaab8fd8d89d689e7..a7759df8d568a21b84308e23ecbe2c73591ee1af 100644 --- a/rugby.c +++ b/rugby.c @@ -1,14 +1,14 @@ #include "rugby-application.h" int -main (int argc, char **argv) +main (int argc, + char **argv) { RugbyApplication *app; - int status; + gint retval; app = rugby_application_new (); - status = g_application_run (G_APPLICATION (app), argc, argv); - g_object_unref (app); + retval = g_application_run (G_APPLICATION (app), argc, argv); - return status; + return retval; }