Commit a7d21385 authored by Benjamin Otte's avatar Benjamin Otte

treeview: Invalidate children properly

GtkTreeView still uses regions (yay!), so we need to invalidate the
regions when hiding/showing children, and not their siblings.
parent f1ad9051
...@@ -11922,7 +11922,7 @@ _gtk_tree_view_reset_header_styles (GtkTreeView *tree_view) ...@@ -11922,7 +11922,7 @@ _gtk_tree_view_reset_header_styles (GtkTreeView *tree_view)
if (!header_widget) if (!header_widget)
header_widget = gtk_tree_view_column_get_button (column); header_widget = gtk_tree_view_column_get_button (column);
_gtk_widget_invalidate_style_context (header_widget, GTK_CSS_CHANGE_POSITION | GTK_CSS_CHANGE_SIBLING_POSITION); _gtk_widget_invalidate_style_context (header_widget, GTK_CSS_CHANGE_PARENT_REGION);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment