mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 10:20:07 +00:00
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:
parent
b6c848d711
commit
4fbfe9b041
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user