Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

2005-03-29 Zoltan Varga <vargaz@freemail.hu>

	* gui/gtk/*.cs: Applied patch from Rafael Teixeira <monoman@gmail.com>.
	Fix compilation problems on HEAD.

svn path=/trunk/monocov/; revision=42325
  • Loading branch information...
commit b0aa74677368d1bf6b54090d8eef6b25105c3f3c 1 parent b3856a4
Zoltan Varga authored March 29, 2005
3  ChangeLog
... ...
@@ -1,5 +1,8 @@
1 1
 2005-03-29  Zoltan Varga  <vargaz@freemail.hu>
2 2
 
  3
+	* gui/gtk/*.cs: Applied patch from Rafael Teixeira <monoman@gmail.com>.
  4
+	Fix compilation problems on HEAD.
  5
+
3 6
 	* symbols.cs: Update to latest Mono.CompilerServices.SymbolWriter.
4 7
 
5 8
 	* Makefile: Disable building of nunit-console.exe for now.
2  gui/gtk/CoverageView.cs
@@ -215,7 +215,7 @@ SourceWindow ShowSourceFor (ClassItem item)
215 215
 			source_views [item.Model.sourceFile] = SourceView;
216 216
 			window_maps [SourceView] = item.Model.sourceFile;
217 217
 			SourceView.Show ();
218  
-			SourceView.DeleteEvent += new Gtk.DeleteEventHandler (OnDeleteEvent);
  218
+			SourceView.DeleteEvent += new DeleteEventHandler (OnDeleteEvent);
219 219
 		}
220 220
 		return SourceView;
221 221
 
4  gui/gtk/MonoCov.cs
@@ -11,7 +11,7 @@
11 11
 
12 12
 using GLib;
13 13
 using Gtk;
14  
-using Gnome;
  14
+//using Gnome;
15 15
 using Glade;
16 16
 using GtkSharp;
17 17
 using System;
@@ -30,7 +30,7 @@ public class MonoCovGui {
30 30
 
31 31
 	Glade.XML xml;
32 32
 
33  
-	[Glade.Widget] Gtk.Window main;
  33
+	[Glade.Widget] Window main;
34 34
 	[Glade.Widget] ScrolledWindow scrolledwindow1;
35 35
 	
36 36
 	public static int GuiMain (String[] args)
6  gui/gtk/SourceWindow.cs
@@ -17,17 +17,17 @@ public SourceWindow (CoverageView.ClassItem klass)
17 17
 
18 18
 			ScrolledWindow sw = new ScrolledWindow ();
19 19
 			
20  
-			text_buffer = new TextBuffer (new Gtk.TextTagTable ());
  20
+			text_buffer = new TextBuffer (new TextTagTable ());
21 21
 			text_view = new TextView (text_buffer);
22 22
 			text_view.Editable = false;
23 23
 
24 24
 			sw.Add (text_view);
25 25
 			Add (sw);
26 26
 
27  
-			hit_color = new Gtk.TextTag ("hit");
  27
+			hit_color = new TextTag ("hit");
28 28
 			hit_color.Foreground = "blue";
29 29
 			text_buffer.TagTable.Add (hit_color);
30  
-			missed_color = new Gtk.TextTag ("miss");
  30
+			missed_color = new TextTag ("miss");
31 31
 			missed_color.Foreground = "red";
32 32
 			text_buffer.TagTable.Add (missed_color);
33 33
 			LoadFile (klass);

0 notes on commit b0aa746

Please sign in to comment.
Something went wrong with that request. Please try again.