[libgames-support] scores: Rename a local variable



commit 3623698ff2d29693480b230bdfaca5176a688c09
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Feb 22 12:54:42 2015 -0600

    scores: Rename a local variable

 scores/dialog.vala |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/scores/dialog.vala b/scores/dialog.vala
index a7f1036..c5fa1da 100644
--- a/scores/dialog.vala
+++ b/scores/dialog.vala
@@ -265,11 +265,11 @@ private class Dialog : Gtk.Dialog
             var temp_stack = (Gtk.Stack) grid.get_child_at (2, row_count);
             temp_stack.visible_child_name = "entry";
 
-            var visible = (Gtk.Entry) temp_stack.get_visible_child ();
-            visible.text = x.user;
-            visible.activate.connect (() => {
-                context.update_score_name (x, visible.get_text (), active_category);
-                x.user = visible.get_text ();
+            var entry = (Gtk.Entry) temp_stack.get_visible_child ();
+            entry.text = x.user;
+            entry.activate.connect (() => {
+                context.update_score_name (x, entry.get_text (), active_category);
+                x.user = entry.get_text ();
             });
         }
 


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