[gbrainy] Remove unused vars
- From: Jordi Mas <jmas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gbrainy] Remove unused vars
- Date: Sun, 20 Sep 2009 18:20:36 +0000 (UTC)
commit 74dd80cfc3b446d69416511617194e9d7faf2bd8
Author: Jordi Mas <jmas softcatala org>
Date: Sun Sep 20 20:20:33 2009 +0200
Remove unused vars
src/VerbalAnalogies/AnalogiesPairOfWordsCompare.cs | 2 +-
src/gbrainy.cs | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/VerbalAnalogies/AnalogiesPairOfWordsCompare.cs b/src/VerbalAnalogies/AnalogiesPairOfWordsCompare.cs
index f8ea904..e1d83f0 100644
--- a/src/VerbalAnalogies/AnalogiesPairOfWordsCompare.cs
+++ b/src/VerbalAnalogies/AnalogiesPairOfWordsCompare.cs
@@ -31,7 +31,7 @@ public class AnalogiesPairOfWordsCompare : Analogies
static protected ArrayListIndicesRandom analogies_indices;
static protected int analogies_index = 0;
- string samples, sample, question;
+ string samples, sample;
public AnalogiesPairOfWordsCompare ()
{
diff --git a/src/gbrainy.cs b/src/gbrainy.cs
index c974b47..df8191c 100644
--- a/src/gbrainy.cs
+++ b/src/gbrainy.cs
@@ -56,7 +56,6 @@ public class gbrainy: Program
GameDrawingArea drawing_area;
GameSession session;
ToolButton all_tbbutton, logic_tbbutton, calculation_tbbutton, memory_tbbutton, verbal_tbbutton, pause_tbbutton, finish_tbbutton;
- TextTag tag_green;
bool low_res;
bool full_screen;
SimpleLabel question_label;
@@ -68,6 +67,8 @@ public class gbrainy: Program
public gbrainy (string [] args, params object [] props)
: base ("gbrainy", Defines.VERSION, Modules.UI, args, props)
{
+ Gtk.MenuItem item;
+
Catalog.Init ("gbrainy", Defines.GNOME_LOCALE_DIR);
FixLocaleInfo ();
@@ -160,7 +161,7 @@ public class gbrainy: Program
solution_vbox.Add (solution_label);
#if MONO_ADDINS
- Gtk.MenuItem item = new Gtk.MenuItem (Catalog.GetString ("Extensions"));
+ item = new Gtk.MenuItem (Catalog.GetString ("Extensions"));
settings_menu.Append (item);
item.Activated += delegate (object sender, EventArgs ar) { Mono.Addins.Gui.AddinManagerWindow.Run (app_window);};
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]