mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06: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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue