mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +00:00
Do not call invalidate_empty_focus() when not realized
Fixes bug 626503
This commit is contained in:
parent
e3ce60cc2d
commit
00fa4a2fc0
@ -2839,10 +2839,10 @@ gtk_tree_view_size_allocate (GtkWidget *widget,
|
||||
gtk_tree_view_get_effective_header_height (tree_view),
|
||||
MAX (tree_view->priv->width, allocation->width),
|
||||
allocation->height - gtk_tree_view_get_effective_header_height (tree_view));
|
||||
}
|
||||
|
||||
if (tree_view->priv->tree == NULL)
|
||||
invalidate_empty_focus (tree_view);
|
||||
if (tree_view->priv->tree == NULL)
|
||||
invalidate_empty_focus (tree_view);
|
||||
}
|
||||
|
||||
if (gtk_widget_get_realized (widget))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user