[Monodevelop-patches-list] r2345 - trunk/MonoDevelop/Core/src/MonoDevelop.Dock
Todd Berman <tberman@sevenl.net>
tberman at mono-cvs.ximian.com
Sun Mar 13 20:50:54 EST 2005
Author: tberman
Date: 2005-03-13 20:50:54 -0500 (Sun, 13 Mar 2005)
New Revision: 2345
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Dock/ChangeLog
trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockPlaceholder.cs
Log:
2005-03-13 Todd Berman <tberman at off.net>
* DockPlaceholder.cs: Use Conditional instead of #if
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Dock/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Dock/ChangeLog 2005-03-14 00:24:12 UTC (rev 2344)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Dock/ChangeLog 2005-03-14 01:50:54 UTC (rev 2345)
@@ -1,3 +1,7 @@
+2005-03-13 Todd Berman <tberman at off.net>
+
+ * DockPlaceholder.cs: Use Conditional instead of #if
+
2005-03-13 John Luke <john.luke at gmail.com>
* DockNotebook.cs: not Automatic
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockPlaceholder.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockPlaceholder.cs 2005-03-14 00:24:12 UTC (rev 2344)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockPlaceholder.cs 2005-03-14 01:50:54 UTC (rev 2345)
@@ -250,9 +250,7 @@
if (newHost != null)
ConnectHost (newHost);
- #if DEBUG
PrintPlacementStack ();
- #endif
}
void OnHostDocked (object sender, DockedArgs a)
@@ -265,18 +263,15 @@
DoExcursion ();
}
- #if DEBUG
PrintPlacementStack ();
- #endif
}
- #if DEBUG
+ [System.Diagnostics.Conditional ("DEBUG")]
void PrintPlacementStack ()
{
Console.WriteLine ("-- {0} count {1}", host.Name, placementStack.Count);
foreach (object o in placementStack.ToArray ())
Console.WriteLine (o);
}
- #endif
}
}
More information about the Monodevelop-patches-list
mailing list