Gareth, It shouldn't assume, no. I've fixed the behaviour, it won't throw an exception anymore, as of svn r51076.
Cheers, Peter -----Original Message----- From: "Baker, GJ (Gareth)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Date: Saturday, 01 October, 2005 01:50 Subject: [Mono-winforms-list] System.Windows.Forms from svn on Mac OSX >I compiled SWF from the svn this morning. It seemed to go in OK. I then >tried to compile and run a programme in the Mac X11 environment and got the >following error: > >Unhandled Exception: System.TypeInitializationException: An exception was >thrown by the type initializer for System.Windows.Forms.XplatUI ---> >System.TypeInitializationException: An exception was thrown by the type >initializer for System.Windows.Forms.X11DesktopColors ---> >System.DllNotFoundException: libgtk-x11-2.0.so >in (wrapper managed-to-native) >System.Windows.Forms.X11DesktopColors:gtk_init_check (int&,string) >in <0x00098> System.Windows.Forms.X11DesktopColors:.cctor ()--- End of >inner exception stack trace --- > >Should SWF be assuming I have gtk installed (which I don't)? > >Regards >Gareth Baker > >_______________________________________________ >Mono-winforms-list maillist - [email protected] >http://lists.ximian.com/mailman/listinfo/mono-winforms-list > > _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
