[libgames-support] scores: Rename a local variable
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgames-support] scores: Rename a local variable
- Date: Sun, 22 Feb 2015 19:11:51 +0000 (UTC)
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]