[f-spot] Avoid shadowing of member variables, makes button sensitivities update correctly.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot] Avoid shadowing of member variables, makes button sensitivities update correctly.
- Date: Sun, 14 Jun 2009 19:09:09 -0400 (EDT)
commit d29870272ff64544927fe3508de6cb86b656eccf
Author: Ruben Vermeersch <ruben savanne be>
Date: Mon Jun 15 01:08:15 2009 +0200
Avoid shadowing of member variables, makes button sensitivities update correctly.
This was hidden in one of our numerous warnings. We should add a zero
warning tolerance policy.
src/MainWindow.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/MainWindow.cs b/src/MainWindow.cs
index 0f304d2..74c09b1 100644
--- a/src/MainWindow.cs
+++ b/src/MainWindow.cs
@@ -283,11 +283,11 @@ public class MainWindow {
toolbar.Insert (new SeparatorToolItem (), -1);
- ToolButton rl_button = GtkUtil.ToolButtonFromTheme ("object-rotate-left", Catalog.GetString ("Rotate Left"), true);
+ rl_button = GtkUtil.ToolButtonFromTheme ("object-rotate-left", Catalog.GetString ("Rotate Left"), true);
rl_button.Clicked += HandleRotate270Command;
toolbar.Insert (rl_button, -1);
- ToolButton rr_button = GtkUtil.ToolButtonFromTheme ("object-rotate-right", Catalog.GetString ("Rotate Right"), true);
+ rr_button = GtkUtil.ToolButtonFromTheme ("object-rotate-right", Catalog.GetString ("Rotate Right"), true);
rr_button.Clicked += HandleRotate90Command;
toolbar.Insert (rr_button, -1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]