diff options
Diffstat (limited to 'gtk/gtkcssnode.c')
-rw-r--r-- | gtk/gtkcssnode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcssnode.c b/gtk/gtkcssnode.c index ab52c2bcd3..ebc65a8d43 100644 --- a/gtk/gtkcssnode.c +++ b/gtk/gtkcssnode.c @@ -1353,6 +1353,8 @@ gtk_css_node_validate (GtkCssNode *cssnode) gint64 timestamp; gint64 before = g_get_monotonic_time (); + g_assert (cssnode->parent == NULL); + timestamp = gtk_css_node_get_timestamp (cssnode); gtk_css_node_validate_internal (cssnode, &filter, timestamp); |