[gtk/wip/baedert/for-master: 8/9] 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: 8/9] widget: Remove verify_child_invariants
- Date: Thu, 6 Feb 2020 15:54:12 +0000 (UTC)
commit 973a06ffa6db7cbd618b62fe73274a6bfc86cbe2
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 1adcf53e72..b84d8f4da2 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -6453,13 +6453,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)
{
@@ -6486,7 +6479,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]