[cairo-commit] rcairo/packages/cairo/ext rb_cairo_context.c, 1.27, 1.28

Kouhei Sutou commit at pdx.freedesktop.org
Tue Jun 27 07:29:47 PDT 2006


Committed by: kou

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

Modified Files:
	rb_cairo_context.c 
Log Message:
* packages/cairo/ext/rb_cairo_context.c (cr_push_group): changed
  default arguments handling to
    push_group(content=nil, pop_to_source=true)
  from
    push_group(content=nil, pop_to_source=false)


Index: rb_cairo_context.c
===================================================================
RCS file: /cvs/cairo/rcairo/packages/cairo/ext/rb_cairo_context.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- rb_cairo_context.c	31 May 2006 05:02:41 -0000	1.27
+++ rb_cairo_context.c	27 Jun 2006 14:29:45 -0000	1.28
@@ -143,6 +143,9 @@
 
   if (rb_block_given_p ())
     {
+      if (NIL_P (pop_to_source))
+        pop_to_source = Qtrue;
+
       if (RTEST (pop_to_source))
         result = rb_ensure (rb_yield, self, cr_pop_group_to_source, self);
       else



More information about the cairo-commit mailing list