Instead of casting to IDisposable and calling Dispose...
((IDisposable) gr).Dispose ();
Do this...
using (Cairo.Graphics gr = CreateDrawable (area.GdkWindow))
{
}
--
View this message in context:
http://mono.1490590.n4.nabble.com/Update-for-http-www-mono-project-com-Mono-Cairo-tp4661018.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list