GNOME Bugzilla – Bug 561394
Cairo Pattern obsolete, use SurfacePattern constructor
Last modified: 2009-01-26 21:32:00 UTC
Compiling with mcs trunk gives the following warning ./Hyena.Widgets/SegmentedBar.cs(388,31): error CS0618: `Cairo.Pattern.Pattern(Cairo.Surface)' is obsolete: `Use the SurfacePattern constructor' This patch may be a bit premature.
Created attachment 122954 [details] [review] Change Pattern object to SurfacePattern
Erm, ignore that previous patch, bad diff...
Created attachment 122955 [details] [review] New diff
Don't know much about Cairo, but looks good to me.
FYI, the compilation error has been worked around by a #pragma, so it should compile now. So this bug is even less a blocker ;)
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.