[Monodevelop-patches-list] r1728 - trunk/MonoDevelop/src/Libraries/Gdl
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Wed Jun 9 14:55:58 EDT 2004
Author: tberman
Date: 2004-06-09 14:55:58 -0400 (Wed, 09 Jun 2004)
New Revision: 1728
Modified:
trunk/MonoDevelop/src/Libraries/Gdl/DockPlaceholder.cs
Log:
fix a nullref, not sure if this is the proper fix though, as it doesnt seem to let the last one get iconified/hidden. not sure at all.
Modified: trunk/MonoDevelop/src/Libraries/Gdl/DockPlaceholder.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/Gdl/DockPlaceholder.cs 2004-06-09 18:54:04 UTC (rev 1727)
+++ trunk/MonoDevelop/src/Libraries/Gdl/DockPlaceholder.cs 2004-06-09 18:55:58 UTC (rev 1728)
@@ -57,7 +57,11 @@
return (DockPlacement)this.placement_stack[0];
return DockPlacement.Center;
}
- set { this.placement_stack.Insert (0, value); }
+ set {
+ if (placement_stack == null)
+ placement_stack = new ArrayList ();
+ this.placement_stack.Insert (0, value);
+ }
}
protected override void OnAdded (Gtk.Widget widget)
@@ -156,4 +160,4 @@
this.Thaw ();
}
}
-}
\ No newline at end of file
+}
More information about the Monodevelop-patches-list
mailing list