[gtk] widget: Remove verify_child_invariants
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] widget: Remove verify_child_invariants
- Date: Fri, 7 Feb 2020 18:20:39 +0000 (UTC)
commit b561eb829949056c4f88cd97a24f389e32d511d5
Author: Timm Bäder <mail baedert org>
Date: Thu Feb 6 08:17:31 2020 +0100
widget: Remove verify_child_invariants
Just calls verify_invariants() anyway.
gtk/gtkwidget.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index a027c078f7..65afc651cd 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -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);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]