diff options
author | Kristian Rietveld <kris@gtk.org> | 2006-05-26 00:25:44 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2006-05-26 00:25:44 +0000 |
commit | e230adcfa06e26f820f6f2a1fec7a4f3c2bf010f (patch) | |
tree | 22e1dfb0248095cd6758cbec09262e96139cfd32 /gtk | |
parent | 7bae68f0b72937ad3e2b9d826f36f019b2905d45 (diff) | |
download | gtk+-e230adcfa06e26f820f6f2a1fec7a4f3c2bf010f.tar.gz |
queue a redraw for the full width of the row, not just the width we got
2006-05-26 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
for the full width of the row, not just the width we got allocated.
(Fixes #333284, reported by Benjamin Berg).
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtktreeview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 5e00ccbaee..df74041533 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -8533,7 +8533,7 @@ gtk_tree_view_queue_draw_arrow (GtkTreeView *tree_view, return; rect.x = 0; - rect.width = MAX (tree_view->priv->expander_size, GTK_WIDGET (tree_view)->allocation.width); + rect.width = MAX (tree_view->priv->expander_size, tree_view->priv->width); rect.y = BACKGROUND_FIRST_PIXEL (tree_view, tree, node); rect.height = ROW_HEIGHT (tree_view, BACKGROUND_HEIGHT (node)); |