mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
gsk: Fix pre-condition check
We warn if the node is marked as not mutable.
This commit is contained in:
parent
51f05731a9
commit
9c86579e47
@ -1268,7 +1268,7 @@ gsk_render_node_set_blend_mode (GskRenderNode *node,
|
||||
GskBlendMode blend_mode)
|
||||
{
|
||||
g_return_if_fail (GSK_IS_RENDER_NODE (node));
|
||||
g_return_if_fail (!node->is_mutable);
|
||||
g_return_if_fail (node->is_mutable);
|
||||
|
||||
if (node->blend_mode == blend_mode)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user