After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 561394 - Cairo Pattern obsolete, use SurfacePattern constructor
Cairo Pattern obsolete, use SurfacePattern constructor
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-18 16:47 UTC by Brandon Perry
Modified: 2009-01-26 21:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Change Pattern object to SurfacePattern (1.52 KB, patch)
2008-11-18 16:48 UTC, Brandon Perry
none Details | Review
New diff (660 bytes, patch)
2008-11-18 16:51 UTC, Brandon Perry
none Details | Review

Description Brandon Perry 2008-11-18 16:47:29 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.
Comment 1 Brandon Perry 2008-11-18 16:48:05 UTC
Created attachment 122954 [details] [review]
Change Pattern object to SurfacePattern
Comment 2 Brandon Perry 2008-11-18 16:48:41 UTC
Erm, ignore that previous patch, bad diff...
Comment 3 Brandon Perry 2008-11-18 16:51:39 UTC
Created attachment 122955 [details] [review]
New diff
Comment 4 Bertrand Lorentz 2008-11-20 16:26:31 UTC
Don't know much about Cairo, but looks good to me.
Comment 5 Bertrand Lorentz 2009-01-26 21:09:19 UTC
FYI, the compilation error has been worked around by a #pragma, so it should compile now.

So this bug is even less a blocker ;) 
Comment 6 Gabriel Burt 2009-01-26 21:32:00 UTC
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.