[Mono-devel-list] libgdiplus SVN and cairo-0.3.0 changes

Peter Johanson latexer at gentoo.org
Thu Jan 27 22:50:44 EST 2005


Hey all,

was checking out the changes to libgdiplus to handle cairo-0.3.0, and
found a small buglet in src/pathgradientbrush.c where one of the
cairo_matrix_t's gets destroyed when it shouldn't (as far as I can tell,
and based on discussion with folks in #mono).

Patch attached, and I'll file a bug tomorrow when i'm not on crappy
wifi.

-pete

-- 
Peter Johanson
<latexer at gentoo.org>
-------------- next part --------------
Index: src/pathgradientbrush.c
===================================================================
--- src/pathgradientbrush.c	(revision 39679)
+++ src/pathgradientbrush.c	(working copy)
@@ -960,8 +960,6 @@
 		return InvalidParameter;
 	}
 
-	cairo_matrix_destroy(mat);
-
 	brush->transform = mat;
 	return Ok;
 }


More information about the Mono-devel-list mailing list