popover: Do not validate the css node on show()
authorBenjamin Otte <otte@redhat.com>
Tue, 28 Jan 2020 16:15:04 +0000 (17:15 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 28 Jan 2020 16:19:28 +0000 (17:19 +0100)
commit17ca95a1617b009a76b27a8572671855435985e7
tree97233886b20e1aa5e9dd5b6f39d2b75d859a8c50
parent1a9ab1a32f60c6fac220c3c53cbf44bf6c8c1d37
popover: Do not validate the css node on show()

This was a good idea back in GTK3 when popovers were toplevels, but now
they're regular child widgets, so they should behave that way.

Also, with the introduction of the bloom filter, gtk_css_node_validate()
now assumes it's only called on root nodes, so assert that that is the
case.
gtk/gtkcssnode.c
gtk/gtkpopover.c