[seed] fix seed_cairo_rotate argument count



commit e9ed8a25213bd8ababff6deaa4f9d321bb8d2a37
Author: Johan Euphrosine <proppy aminche com>
Date:   Sat May 16 15:38:50 2009 +0000

    fix seed_cairo_rotate argument count
---
 modules/cairo/seed-cairo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/cairo/seed-cairo.c b/modules/cairo/seed-cairo.c
index d5eebe0..11dfad8 100644
--- a/modules/cairo/seed-cairo.c
+++ b/modules/cairo/seed-cairo.c
@@ -1402,7 +1402,7 @@ seed_cairo_rotate (SeedContext ctx,
   CHECK_THIS();
   cairo_t *cr = seed_object_get_private (this_object);
   
-  if (argument_count != 2)
+  if (argument_count != 1)
     {
       EXPECTED_EXCEPTION ("rotate", "1 arguments");
     }



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