[cairo-commit] rcairo/src rb_cairo_surface.c,1.26,1.27

Kouhei Sutou commit at pdx.freedesktop.org
Thu Apr 10 22:18:32 PDT 2008


Committed by: kou

Update of /cvs/cairo/rcairo/src
In directory kemper:/tmp/cvs-serv16997/src

Modified Files:
	rb_cairo_surface.c 
Log Message:
* src/rb_cairo_surface.c: don't change paper's unit.


Index: rb_cairo_surface.c
===================================================================
RCS file: /cvs/cairo/rcairo/src/rb_cairo_surface.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- rb_cairo_surface.c	11 Apr 2008 03:01:33 -0000	1.26
+++ rb_cairo_surface.c	11 Apr 2008 05:23:19 -0000	1.27
@@ -57,8 +57,7 @@
   VALUE paper, size;
 
   paper = cr_paper_parse (paper_description);
-  rb_funcall (paper, cr_id_set_unit, 1, rb_str_new2 ("pt"));
-  size = rb_funcall (paper, cr_id_size, 0);
+  size = rb_funcall (paper, cr_id_size, 1, rb_str_new2 ("pt"));
   *width = RARRAY_PTR (size)[0];
   *height = RARRAY_PTR (size)[1];
 }



More information about the cairo-commit mailing list