mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-10 04:40:22 +01:00
dest_image) src/cairo-quartz-surface.c (_cairo_quartz_surface_acquire_dest_image) src/cairo-xcb-surface.c (_cairo_xcb_surface_acquire_source,dest_image): src/cairo-xlib-surface.c (_cairo_xlib_surface_acquire_source,dest_image): Set image_extra to NULL to avoid purify warnings. (#3777, Stuart Parmenter)
This commit is contained in:
parent
5d7c796c18
commit
02c6aec91d
5 changed files with 17 additions and 2 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2005-07-28 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* src/cairo-image-surface.c (_cairo_image_surface_acquire_source,dest_image)
|
||||
src/cairo-quartz-surface.c (_cairo_quartz_surface_acquire_dest_image)
|
||||
src/cairo-xcb-surface.c (_cairo_xcb_surface_acquire_source,dest_image):
|
||||
src/cairo-xlib-surface.c (_cairo_xlib_surface_acquire_source,dest_image):
|
||||
Set image_extra to NULL to avoid purify warnings. (#3777, Stuart Parmenter)
|
||||
|
||||
2005-07-27 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairoint.h:
|
||||
|
|
|
|||
|
|
@ -349,6 +349,7 @@ _cairo_image_surface_acquire_source_image (void *abstract_sur
|
|||
void **image_extra)
|
||||
{
|
||||
*image_out = abstract_surface;
|
||||
*image_extra = NULL;
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
@ -375,7 +376,8 @@ _cairo_image_surface_acquire_dest_image (void *abstract_surfa
|
|||
image_rect_out->height = surface->height;
|
||||
|
||||
*image_out = surface;
|
||||
|
||||
*image_extra = NULL;
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -152,6 +152,7 @@ _cairo_quartz_surface_acquire_dest_image(void *abstract_surface,
|
|||
image_rect->height = surface->image->height;
|
||||
|
||||
*image_out = surface->image;
|
||||
*image_extra = NULL;
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -582,6 +582,7 @@ _cairo_xcb_surface_acquire_source_image (void *abstract_surfa
|
|||
return status;
|
||||
|
||||
*image_out = image;
|
||||
*image_extra = NULL;
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
@ -610,6 +611,7 @@ _cairo_xcb_surface_acquire_dest_image (void *abstract_surface
|
|||
return status;
|
||||
|
||||
*image_out = image;
|
||||
*image_extra = NULL;
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -589,6 +589,7 @@ _cairo_xlib_surface_acquire_source_image (void *abstract_surf
|
|||
return status;
|
||||
|
||||
*image_out = image;
|
||||
*image_extra = NULL;
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
@ -617,7 +618,8 @@ _cairo_xlib_surface_acquire_dest_image (void *abstract_surfac
|
|||
return status;
|
||||
|
||||
*image_out = image;
|
||||
|
||||
*image_extra = NULL;
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue