[cairo-commit] rcairo/packages/cairo/ext rb_cairo_pattern.c, 1.18, 1.19

Kouhei Sutou commit at pdx.freedesktop.org
Sat Dec 30 05:27:46 PST 2006


Committed by: kou

Update of /cvs/cairo/rcairo/packages/cairo/ext
In directory kemper:/tmp/cvs-serv7970/packages/cairo/ext

Modified Files:
	rb_cairo_pattern.c 
Log Message:
* packages/cairo/ext/rb_cairo_pattern.c:
  Cairo::GradientPattern#[] -> Cairo::GradientPattern#get_color_stop.


Index: rb_cairo_pattern.c
===================================================================
RCS file: /cvs/cairo/rcairo/packages/cairo/ext/rb_cairo_pattern.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- rb_cairo_pattern.c	21 Dec 2006 15:34:36 -0000	1.18
+++ rb_cairo_pattern.c	30 Dec 2006 13:26:47 -0000	1.19
@@ -444,7 +444,8 @@
 #if CAIRO_CHECK_VERSION(1, 3, 0)
   rb_define_method (rb_cCairo_GradientPattern, "get_color_stop_rgba",
                     cr_gradient_pattern_get_color_stop_rgba, 1);
-  rb_define_alias (rb_cCairo_GradientPattern, "[]", "get_color_stop_rgba");
+  rb_define_alias (rb_cCairo_GradientPattern,
+                   "get_color_stop", "get_color_stop_rgba");
   rb_define_method (rb_cCairo_GradientPattern, "color_stop_count",
                     cr_gradient_pattern_get_color_stop_count, 0);
 #endif



More information about the cairo-commit mailing list