[gtk/wip/baedert/for-master: 1/38] widget: Remove verify_child_invariants
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 1/38] widget: Remove verify_child_invariants
- Date: Thu, 6 Feb 2020 16:04:11 +0000 (UTC)
commit 2417e2769422cf3ad40e98429926c3b6bba84c26
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]