mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 13:58:01 +02:00
cairo_surface_t pointer to cairo_surface_set_repeat
This commit is contained in:
parent
d0e30df8cb
commit
93c27d48a3
3 changed files with 5 additions and 2 deletions
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
* src/cairo_glitz_surface.c (_cairo_glitz_surface_create_pattern):
|
||||
Pickup repeat setting when cloning surface.
|
||||
(_cairo_glitz_surface_create_pattern): cairo_surface_set_repeat
|
||||
likes to get a cairo_surface_t pointer not a cairo_glitz_surface_t
|
||||
pointer.
|
||||
|
||||
2004-09-11 Carl Worth <stacyworth@pippin.local>
|
||||
|
||||
|
|
|
|||
|
|
@ -843,7 +843,7 @@ _cairo_glitz_surface_create_pattern (void *abstract_dst,
|
|||
if (src == NULL)
|
||||
return CAIRO_STATUS_NO_MEMORY;
|
||||
|
||||
cairo_surface_set_repeat (src, generic_src->repeat);
|
||||
cairo_surface_set_repeat (&src->base, generic_src->repeat);
|
||||
} else
|
||||
src = (cairo_glitz_surface_t *) generic_src;
|
||||
|
||||
|
|
|
|||
|
|
@ -843,7 +843,7 @@ _cairo_glitz_surface_create_pattern (void *abstract_dst,
|
|||
if (src == NULL)
|
||||
return CAIRO_STATUS_NO_MEMORY;
|
||||
|
||||
cairo_surface_set_repeat (src, generic_src->repeat);
|
||||
cairo_surface_set_repeat (&src->base, generic_src->repeat);
|
||||
} else
|
||||
src = (cairo_glitz_surface_t *) generic_src;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue