Merge branch 'gbsneto/css-dequeue-fix' into 'master'

csswidgetnode: Don't check for container

See merge request GNOME/gtk!1861
This commit is contained in:
Matthias Clasen 2020-05-08 14:55:46 +00:00
commit 61d39a09a5

View File

@ -68,9 +68,7 @@ gtk_css_widget_node_dequeue_validate (GtkCssNode *node)
{
GtkCssWidgetNode *widget_node = GTK_CSS_WIDGET_NODE (node);
if (widget_node->widget &&
GTK_IS_ROOT (widget_node->widget) &&
GTK_IS_CONTAINER (widget_node->widget))
if (widget_node->widget && GTK_IS_ROOT (widget_node->widget))
gtk_widget_remove_tick_callback (widget_node->widget,
widget_node->validate_cb_id);
}