forked from AuroraMiddleware/gtk
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:
commit
61d39a09a5
@ -68,9 +68,7 @@ gtk_css_widget_node_dequeue_validate (GtkCssNode *node)
|
|||||||
{
|
{
|
||||||
GtkCssWidgetNode *widget_node = GTK_CSS_WIDGET_NODE (node);
|
GtkCssWidgetNode *widget_node = GTK_CSS_WIDGET_NODE (node);
|
||||||
|
|
||||||
if (widget_node->widget &&
|
if (widget_node->widget && GTK_IS_ROOT (widget_node->widget))
|
||||||
GTK_IS_ROOT (widget_node->widget) &&
|
|
||||||
GTK_IS_CONTAINER (widget_node->widget))
|
|
||||||
gtk_widget_remove_tick_callback (widget_node->widget,
|
gtk_widget_remove_tick_callback (widget_node->widget,
|
||||||
widget_node->validate_cb_id);
|
widget_node->validate_cb_id);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user