[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/7] ui: add pixman image g_autoptr support
From: |
Marc-André Lureau |
Subject: |
[PULL 3/7] ui: add pixman image g_autoptr support |
Date: |
Thu, 2 Jan 2020 15:54:55 +0400 |
Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Daniel P. Berrangé <address@hidden>
---
include/ui/qemu-pixman.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h
index 0668109305..3b7cf70157 100644
--- a/include/ui/qemu-pixman.h
+++ b/include/ui/qemu-pixman.h
@@ -90,4 +90,6 @@ void qemu_pixman_glyph_render(pixman_image_t *glyph,
pixman_color_t *bgcol,
int x, int y, int cw, int ch);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(pixman_image_t, qemu_pixman_image_unref)
+
#endif /* QEMU_PIXMAN_H */
--
2.24.0.308.g228f53135a
- [PULL 0/7] Screendump patches, Marc-André Lureau, 2020/01/02
- [PULL 3/7] ui: add pixman image g_autoptr support,
Marc-André Lureau <=
- [PULL 2/7] ppm-save: pass opened fd, Marc-André Lureau, 2020/01/02
- [PULL 1/7] console: add graphic_hw_update_done(), Marc-André Lureau, 2020/01/02
- [PULL 4/7] object: add g_autoptr support, Marc-André Lureau, 2020/01/02
- [PULL 5/7] screendump: replace FILE with QIOChannel and fix close()/qemu_close(), Marc-André Lureau, 2020/01/02
- [PULL 6/7] osdep: add qemu_unlink(), Marc-André Lureau, 2020/01/02
- [PULL 7/7] screendump: use qemu_unlink(), Marc-André Lureau, 2020/01/02
- Re: [PULL 0/7] Screendump patches, Marc-André Lureau, 2020/01/02