summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-types.h4
-rw-r--r--pango/pango-utils.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-types.h b/pango/pango-types.h
index 0902c6ac..cf41ab6f 100644
--- a/pango/pango-types.h
+++ b/pango/pango-types.h
@@ -107,8 +107,8 @@ void pango_matrix_scale (PangoMatrix *matrix,
double scale_y);
void pango_matrix_rotate (PangoMatrix *matrix,
double degrees);
-void pango_matrix_concat (PangoMatrix *matrix,
- PangoMatrix *new_matrix);
+void pango_matrix_concat (PangoMatrix *matrix,
+ const PangoMatrix *new_matrix);
#define PANGO_SCALE 1024
#define PANGO_PIXELS(d) (((int)(d) + 512) >> 10)
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index ef8c222a..37cc6ea0 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -1105,8 +1105,8 @@ pango_matrix_rotate (PangoMatrix *matrix,
* given by @new_matrix then applying the original transformation.
**/
void
-pango_matrix_concat (PangoMatrix *matrix,
- PangoMatrix *new_matrix)
+pango_matrix_concat (PangoMatrix *matrix,
+ const PangoMatrix *new_matrix)
{
PangoMatrix tmp;