Author: lluis
Date: 2006-04-18 05:41:23 -0400 (Tue, 18 Apr 2006)
New Revision: 59580

Modified:
   trunk/monodevelop/Extras/NUnit/ChangeLog
   trunk/monodevelop/Extras/NUnit/Gui/CircleImage.cs
Log:
2006-04-18 Lluis Sanchez Gual  <[EMAIL PROTECTED]>

        * Gui/CircleImage.cs: Added static constructor to get
        strict "beforefieldinit" semantics, so that the images
        are loaded after GTK is initialized.



Modified: trunk/monodevelop/Extras/NUnit/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/NUnit/ChangeLog    2006-04-18 09:31:12 UTC (rev 
59579)
+++ trunk/monodevelop/Extras/NUnit/ChangeLog    2006-04-18 09:41:23 UTC (rev 
59580)
@@ -1,3 +1,9 @@
+2006-04-18 Lluis Sanchez Gual  <[EMAIL PROTECTED]>
+
+       * Gui/CircleImage.cs: Added static constructor to get
+       strict "beforefieldinit" semantics, so that the images
+       are loaded after GTK is initialized.
+
 2006-04-04 Lluis Sanchez Gual  <[EMAIL PROTECTED]>
 
        * Makefile.am: Reference nunit libraries using $(NUNIT_LIBS).

Modified: trunk/monodevelop/Extras/NUnit/Gui/CircleImage.cs
===================================================================
--- trunk/monodevelop/Extras/NUnit/Gui/CircleImage.cs   2006-04-18 09:31:12 UTC 
(rev 59579)
+++ trunk/monodevelop/Extras/NUnit/Gui/CircleImage.cs   2006-04-18 09:41:23 UTC 
(rev 59580)
@@ -37,6 +37,10 @@
        abstract class CircleImage
        {
                CircleImage () {}
+               
+               static CircleImage ()
+               {
+               }
 
                internal static Gdk.Pixbuf Running = 
Gdk.Pixbuf.LoadFromResource("NUnit.Running.png");
                internal static Gdk.Pixbuf Failure = 
Gdk.Pixbuf.LoadFromResource("NUnit.Failed.png");

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to