stack: Static analysis fixes

This commit is contained in:
Matthias Clasen 2021-05-03 07:35:21 -04:00
parent e510538f37
commit faf56a8abe

View File

@ -2320,7 +2320,7 @@ gtk_stack_snapshot_cube (GtkWidget *widget,
if (priv->active_transition_type == GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT)
gtk_widget_snapshot_child (widget, priv->visible_child->widget, snapshot);
else
else if (priv->last_visible_child)
gtk_widget_snapshot_child (widget, priv->last_visible_child->widget, snapshot);
gtk_snapshot_restore (snapshot);