Commit ecc612b1 authored by Emmanuele Bassi's avatar Emmanuele Bassi 👣

Merge branch 'stack-set-name-guard' into 'gtk-3-22'

stack: protect set_visible_child_name from NULL stack

See merge request !117
parents 1945c7a1 2ee5aee4
Pipeline #9224 passed with stage
in 7 minutes and 29 seconds
......@@ -1836,6 +1836,8 @@ gtk_stack_set_visible_child_name (GtkStack *stack,
GtkStackPrivate *priv = gtk_stack_get_instance_private (stack);
g_return_if_fail (GTK_IS_STACK (stack));
gtk_stack_set_visible_child_full (stack, name, priv->transition_type);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment