[cairo-commit] rcairo/src rb_cairo_surface.c,1.4,1.5

Kouhei Sutou commit at pdx.freedesktop.org
Thu May 10 08:16:30 EEST 2007


Committed by: kou

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

Modified Files:
	rb_cairo_surface.c 
Log Message:
* src/rb_cairo_surface.c (cr_surface_create_similar): retrieved
  corresponding Ruby class by cairo_surface_get_type().


Index: rb_cairo_surface.c
===================================================================
RCS file: /cvs/cairo/rcairo/src/rb_cairo_surface.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- rb_cairo_surface.c	3 May 2007 02:47:39 -0000	1.4
+++ rb_cairo_surface.c	10 May 2007 05:16:19 -0000	1.5
@@ -293,7 +293,7 @@
                                           RVAL2CRCONTENT (content),
                                           NUM2INT (width), NUM2INT (height));
   cr_surface_check_status (surface);
-  cr_surface_set_klass (surface, rb_obj_class (self));
+  cr_surface_set_klass (surface, cr_surface_get_klass (surface));
   return CRSURFACE2RVAL (surface);
 }
 



More information about the cairo-commit mailing list