[Gtk-sharp-list] Update for http://www.mono-project.com/Mono.Cairo

Nightness joshguyette at yahoo.com
Wed Oct 2 06:15:59 UTC 2013


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.


More information about the Gtk-sharp-list mailing list