mirror of
https://github.com/qemu/qemu.git
synced 2025-08-09 01:50:43 +00:00
ui: add pixman image g_autoptr support
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
46e5841cd2
commit
f908475f2f
@ -90,4 +90,6 @@ void qemu_pixman_glyph_render(pixman_image_t *glyph,
|
|||||||
pixman_color_t *bgcol,
|
pixman_color_t *bgcol,
|
||||||
int x, int y, int cw, int ch);
|
int x, int y, int cw, int ch);
|
||||||
|
|
||||||
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(pixman_image_t, qemu_pixman_image_unref)
|
||||||
|
|
||||||
#endif /* QEMU_PIXMAN_H */
|
#endif /* QEMU_PIXMAN_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user