[ease/builder] Simplify some code



commit 075917e4a471f64fdced9bf3f9fcfe2f60c171a7
Author: Stéphane Maniaci <stephane maniaci gmail com>
Date:   Wed Jul 14 20:37:53 2010 -0500

    Simplify some code

 src/ease-welcome-actor.vala |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/ease-welcome-actor.vala b/src/ease-welcome-actor.vala
index 7611cb0..161488f 100644
--- a/src/ease-welcome-actor.vala
+++ b/src/ease-welcome-actor.vala
@@ -116,10 +116,7 @@ public class Ease.WelcomeActor : Clutter.Group
 			// unfade the others
 			foreach (var a in others)
 			{
-				if (a != this)
-				{
-					a.fade();
-				}
+				a.fade();
 			}
 			unfade();
 			selected();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]