[Gtk-sharp-list] Sudden change in API? Cairo API crashes!

MrFreeman biggestsonicfan at gmail.com
Sun Feb 5 09:02:22 UTC 2012


I've been developing a program in GTK# using MonoDevelop for Windows and
have been testing my program on a Mac using the Mono Framework 2.6.7. I
upgraded tonight to Mono Framework 2.10.8, and now my program no longer
functions correctly. My program, however, functions correctly in Windows,
and I have not upgraded my GTK framework yet.

The line it my program seems to crash on is as follows:

Context context = Gdk.CairoHelper.Create(eb.GdkWindow);
context.SetSourceRGBA(1.0, 1.0, 1.0, 0.0);

Why would this CairoHelper suddenly cause my program to crash in this new
update yet still work on my older GTK Windows machine?
Here is a screenshot of the new error I am encountering, which I did not
encounter before this update. 

View this message in context: http://mono.1490590.n4.nabble.com/Sudden-change-in-API-Cairo-API-crashes-tp4358621p4358621.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list