[cairo-commit] cairo/src cairo-matrix.c,1.22,1.23
Carl Worth
commit at pdx.freedesktop.org
Fri Apr 8 04:43:08 PDT 2005
Committed by: cworth
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv28268/src
Modified Files:
cairo-matrix.c
Log Message:
* src/cairo-matrix.c (cairo_matrix_init_identity): Don't try to
return a value (even a void value) from a void function. Closes
bug #2931.
Index: cairo-matrix.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-matrix.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- cairo-matrix.c 7 Apr 2005 17:01:49 -0000 1.22
+++ cairo-matrix.c 8 Apr 2005 11:43:06 -0000 1.23
@@ -117,10 +117,10 @@
void
cairo_matrix_init_identity (cairo_matrix_t *matrix)
{
- return cairo_matrix_init (matrix,
- 1, 0,
- 0, 1,
- 0, 0);
+ cairo_matrix_init (matrix,
+ 1, 0,
+ 0, 1,
+ 0, 0);
}
slim_hidden_def(cairo_matrix_init_identity);
DEPRECATE(cairo_matrix_set_identity, cairo_matrix_init_identity);
More information about the cairo-commit
mailing list