treeview: Fix copy/paste bug

Introduced in 7eecb16404
This commit is contained in:
Benjamin Otte 2015-02-06 03:13:59 +01:00
parent 89f635fee1
commit 93c3b90f6a

View File

@ -5581,7 +5581,7 @@ gtk_tree_view_draw (GtkWidget *widget,
view_rect.x = 0;
view_rect.y = gtk_tree_view_get_effective_header_height (tree_view);
view_rect.width = gtk_widget_get_allocated_width (widget);
view_rect.height = gtk_widget_get_allocated_width (widget) - view_rect.y;
view_rect.height = gtk_widget_get_allocated_height (widget) - view_rect.y;
gdk_window_get_position (tree_view->priv->bin_window, &canvas_rect.x, &canvas_rect.y);
canvas_rect.y = -gtk_adjustment_get_value (tree_view->priv->vadjustment);