[cairo-commit] cairo/src cairo-gstate.c,1.184,1.185
Carl Worth
commit at pdx.freedesktop.org
Mon Nov 7 10:29:39 PST 2005
Committed by: cworth
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv4024/src
Modified Files:
cairo-gstate.c
Log Message:
2005-11-07 Carl Worth <cworth at cworth.org>
* src/cairo-gstate.c (_cairo_gstate_init_copy): Two more instances
of copy-and-reference in a single step.
Index: cairo-gstate.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-gstate.c,v
retrieving revision 1.184
retrieving revision 1.185
diff -u -d -r1.184 -r1.185
--- cairo-gstate.c 7 Nov 2005 18:26:19 -0000 1.184
+++ cairo-gstate.c 7 Nov 2005 18:29:37 -0000 1.185
@@ -161,9 +161,9 @@
_cairo_clip_init_copy (&gstate->clip, &other->clip);
- cairo_surface_reference (gstate->target);
+ gstate->target = cairo_surface_reference (other->target);
- cairo_pattern_reference (gstate->source);
+ gstate->source = cairo_pattern_reference (other->source);
return CAIRO_STATUS_SUCCESS;
}
More information about the cairo-commit
mailing list