gsk: Warn about unused result in gsk_render_node_get_opaque_rect()

It's a function to easily forget to check the return value.

In fact I just did that.
This commit is contained in:
Benjamin Otte 2024-08-09 03:36:51 +02:00
parent b6c848d711
commit 4fbfe9b041

View File

@ -124,7 +124,7 @@ void gsk_render_node_get_bounds (GskRenderNode
GDK_AVAILABLE_IN_4_16
gboolean gsk_render_node_get_opaque_rect (GskRenderNode *self,
graphene_rect_t *out_opaque);
graphene_rect_t *out_opaque) G_GNUC_WARN_UNUSED_RESULT;
GDK_AVAILABLE_IN_ALL
void gsk_render_node_draw (GskRenderNode *node,