mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 19:30:10 +00:00
don't you hate it when you apply the wrong patch and discover it only
after applying it and committing -George
This commit is contained in:
parent
fba2b02b10
commit
2a1cd0c42e
@ -2521,6 +2521,7 @@ gtk_clist_draw (GtkWidget * widget,
|
||||
{
|
||||
GtkCList *clist;
|
||||
gint border_width;
|
||||
GdkRectangle child_area;
|
||||
int i;
|
||||
|
||||
g_return_if_fail (widget != NULL);
|
||||
@ -2552,7 +2553,8 @@ gtk_clist_draw (GtkWidget * widget,
|
||||
|
||||
for (i = 0; i < clist->columns; i++)
|
||||
{
|
||||
gtk_widget_queue_draw (clist->column[i].button);
|
||||
if (gtk_widget_intersect (clist->column[i].button, area, &child_area))
|
||||
gtk_widget_draw (clist->column[i].button, &child_area);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user