widget: Remove verify_child_invariants

Just calls verify_invariants() anyway.
This commit is contained in:
Timm Bäder 2020-02-06 08:17:31 +01:00 committed by Matthias Clasen
parent 6150344195
commit b561eb8299

View File

@ -6449,13 +6449,6 @@ gtk_widget_push_verify_invariants (GtkWidget *widget)
priv->verifying_invariants_count += 1;
}
static void
gtk_widget_verify_child_invariants (GtkWidget *widget)
{
/* We don't recurse further; this is a one-level check. */
gtk_widget_verify_invariants (widget);
}
static void
gtk_widget_pop_verify_invariants (GtkWidget *widget)
{
@ -6482,7 +6475,7 @@ gtk_widget_pop_verify_invariants (GtkWidget *widget)
child != NULL;
child = _gtk_widget_get_next_sibling (child))
{
gtk_widget_verify_child_invariants (child);
gtk_widget_verify_invariants (child);
}
}
}