guile-gtk-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[guile-cairo PATCH] fix declarations of wrappers for matrix operations


From: Patrick Bernaud
Subject: [guile-cairo PATCH] fix declarations of wrappers for matrix operations
Date: Sun, 11 Dec 2011 17:39:21 +0100
User-agent: StGit/0.15

* guile-cairo/guile-cairo.c (scm_cairo_matrix_translate): Fix number of
  parameters.
  (scm_cairo_matrix_scale, scm_cairo_matrix_rotate): Fix procedure name.
  Bug #25328.
---
 guile-cairo/guile-cairo.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/guile-cairo/guile-cairo.c b/guile-cairo/guile-cairo.c
index 843b585..fa983eb 100644
--- a/guile-cairo/guile-cairo.c
+++ b/guile-cairo/guile-cairo.c
@@ -2786,7 +2786,7 @@ SCM_DEFINE_PUBLIC (scm_cairo_make_rotate_matrix, 
"cairo-make-rotate-matrix", 1,
   return scm_from_cairo_matrix (&matrix);
 }
 
-SCM_DEFINE_PUBLIC (scm_cairo_matrix_translate, "cairo-matrix-translate", 2, 0, 
0,
+SCM_DEFINE_PUBLIC (scm_cairo_matrix_translate, "cairo-matrix-translate", 3, 0, 
0,
                    (SCM smatrix, SCM tx, SCM ty),
                    "")
 {
@@ -2799,7 +2799,7 @@ SCM_DEFINE_PUBLIC (scm_cairo_matrix_translate, 
"cairo-matrix-translate", 2, 0, 0
   return scm_from_cairo_matrix (&matrix);
 }
 
-SCM_DEFINE_PUBLIC (scm_cairo_matrix_scale, "cairo-make-scale-matrix", 3, 0, 0,
+SCM_DEFINE_PUBLIC (scm_cairo_matrix_scale, "cairo-matrix-scale", 3, 0, 0,
                    (SCM smatrix, SCM sx, SCM sy),
                    "")
 {
@@ -2812,7 +2812,7 @@ SCM_DEFINE_PUBLIC (scm_cairo_matrix_scale, 
"cairo-make-scale-matrix", 3, 0, 0,
   return scm_from_cairo_matrix (&matrix);
 }
 
-SCM_DEFINE_PUBLIC (scm_cairo_matrix_rotate, "cairo-make-rotate-matrix", 2, 0, 
0,
+SCM_DEFINE_PUBLIC (scm_cairo_matrix_rotate, "cairo-matrix-rotate", 2, 0, 0,
                    (SCM smatrix, SCM rads),
                    "")
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]