[mono/monodevelop] 6a99352e: [SourceEditor] Fixed old cairo API.
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <00000141a2c20740-d7d1d021-137b-4947-9a64-7213f722aea5-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/monodevelop
Compare: https://github.com/mono/monodevelop/compare/7e53fef6ba50...6a99352edd92
Commit: 6a99352edd923eff57fe357d54fd0e28c77ec220
Author: Mike Krüger <[email protected]> (mkrueger)
Date: 2013-10-10 14:21:07 GMT
URL: https://github.com/mono/monodevelop/commit/6a99352edd923eff57fe357d54fd0e28c77ec220
[SourceEditor] Fixed old cairo API.
Changed paths:
M main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/HoverCloseButton.cs
Modified: main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/HoverCloseButton.cs
===================================================================
@@ -144,7 +144,7 @@ static void DrawCloseButton (Cairo.Context context, Gdk.Point center, bool hover
context.Arc (center.X, center.Y + 1, radius, 0, Math.PI * 2);
lg.AddColorStop (0, new Cairo.Color (0, 0, 0, 0.2 * opacity));
lg.AddColorStop (1, new Cairo.Color (0, 0, 0, 0));
- context.SetSource (lg);
+ context.Pattern = lg;
context.Stroke ();
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches