summaryrefslogtreecommitdiff
path: root/src/cairo-matrix.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2007-04-09 17:15:33 -0700
committerCarl Worth <cworth@cworth.org>2007-04-09 17:15:33 -0700
commit93776772edbadeab90ea199a115750310be91e4e (patch)
treeeb16236f90e9da92ceb09fe77f943ec331a5064d /src/cairo-matrix.c
parentd5b35d7d7666634f1f98d6c0141a2a29976e7e2f (diff)
Make _cairo_matrix_compute_scale_factors void
Yet another function that cannot fail under any circumstances.
Diffstat (limited to 'src/cairo-matrix.c')
-rw-r--r--src/cairo-matrix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cairo-matrix.c b/src/cairo-matrix.c
index 75c27b23..40828f02 100644
--- a/src/cairo-matrix.c
+++ b/src/cairo-matrix.c
@@ -495,7 +495,7 @@ _cairo_matrix_compute_determinant (const cairo_matrix_t *matrix,
}
/* Compute the amount that each basis vector is scaled by. */
-cairo_status_t
+void
_cairo_matrix_compute_scale_factors (const cairo_matrix_t *matrix,
double *sx, double *sy, int x_major)
{
@@ -535,8 +535,6 @@ _cairo_matrix_compute_scale_factors (const cairo_matrix_t *matrix,
*sy = major;
}
}
-
- return CAIRO_STATUS_SUCCESS;
}
cairo_bool_t