forked from AuroraMiddleware/gtk
treeview: Fix embedding cell renderers
We need to manually set up the css node, since the treeview has children whose css node is not a direct child of the treeview css node (header buttons).
This commit is contained in:
parent
cc3ecac6d8
commit
9e3147f78d
@ -8195,6 +8195,9 @@ gtk_tree_view_put (GtkTreeView *tree_view,
|
||||
|
||||
tree_view->priv->children = g_list_append (tree_view->priv->children, child);
|
||||
|
||||
gtk_css_node_insert_after (gtk_widget_get_css_node (GTK_WIDGET (tree_view)),
|
||||
gtk_widget_get_css_node (child_widget),
|
||||
tree_view->priv->header_node);
|
||||
gtk_widget_set_parent (child_widget, GTK_WIDGET (tree_view));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user