[gnome-games] lightsoff: Simplify main return value code
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] lightsoff: Simplify main return value code
- Date: Thu, 5 Jan 2012 22:06:15 +0000 (UTC)
commit 28eb31069f47df6987100f28919823c00327bb60
Author: Robert Ancell <robert ancell canonical com>
Date: Fri Jan 6 09:06:05 2012 +1100
lightsoff: Simplify main return value code
lightsoff/src/lightsoff.vala | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/lightsoff/src/lightsoff.vala b/lightsoff/src/lightsoff.vala
index 90e37c9..dee9582 100644
--- a/lightsoff/src/lightsoff.vala
+++ b/lightsoff/src/lightsoff.vala
@@ -164,10 +164,7 @@ public class LightsOff : Gtk.Application
try
{
app = new LightsOff ();
-
- var result = app.run ();
-
- return result;
+ return app.run ();
}
catch (Error e)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]