[cairo-commit] rcairo/src rb_cairo_path.c,1.9,1.10

Kouhei Sutou commit at pdx.freedesktop.org
Thu Apr 3 20:48:25 PDT 2008


Committed by: kou

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

Modified Files:
	rb_cairo_path.c 
Log Message:
* src/rb_cairo_path.c: remove garbages.


Index: rb_cairo_path.c
===================================================================
RCS file: /cvs/cairo/rcairo/src/rb_cairo_path.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- rb_cairo_path.c	22 May 2007 11:41:45 -0000	1.9
+++ rb_cairo_path.c	4 Apr 2008 03:52:31 -0000	1.10
@@ -132,19 +132,6 @@
     }
 
   return rb_data;
-
-  int i;
-  VALUE points;
-
-  points = rb_ary_new ();
-  for (i = 1; i < data->header.length; i++)
-    {
-      rb_ary_push (points, cr_point_new (rb_float_new (data[i].point.x),
-                                         rb_float_new (data[i].point.y)));
-    }
-
-  return rb_funcall (rb_cCairo_PathData, id_new, 2,
-                     INT2FIX (data->header.type), points);
 }
 
 



More information about the cairo-commit mailing list