[Muine] Code cleanup reverted fix to src/HandleView.cs



Hey all,

The code cleanup that hit CVS recently managed to revert a fix I sent to
the list a while ago for muine running on mono-1.1.4. Attached is the
fix, which is necessary for the stricter accessor rules on mono-1.1.x.
The overriden Model property in HandleView has no set{}, so it dies.
Needs to be cast up to TreeView where the model can be set.

-pete

-- 
Peter Johanson
<latexer gentoo org>
Index: src/HandleView.cs
===================================================================
RCS file: /cvs/gnome/muine/src/HandleView.cs,v
retrieving revision 1.39
diff -a -u -r1.39 HandleView.cs
--- src/HandleView.cs	15 Mar 2005 10:11:13 -0000	1.39
+++ src/HandleView.cs	16 Mar 2005 23:44:26 -0000
@@ -34,7 +34,7 @@
 		public HandleView ()
 		{
 			model = new HandleModel ();
-			this.Model = model;
+			((TreeView)this).Model = model;
 
 			RulesHint      = true;
 			EnableSearch   = false;


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