From 35cea86dd7777829c8047cbb8052e038d955bf08 Mon Sep 17 00:00:00 2001 From: Bruce Cowan <bruce@bcowan.me.uk> Date: Sat, 2 Jun 2012 01:40:19 +0100 Subject: [PATCH] Minor application fixes --- rugby.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rugby.c b/rugby.c index 68d0873..a7759df 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; } -- GitLab