my ignorance strikes yet again so here's the fix
-George
This commit is contained in:
@@ -1972,6 +1972,8 @@ gtk_clist_draw (GtkWidget * widget,
|
|||||||
{
|
{
|
||||||
GtkCList *clist;
|
GtkCList *clist;
|
||||||
gint border_width;
|
gint border_width;
|
||||||
|
GdkRectangle child_area;
|
||||||
|
int i;
|
||||||
|
|
||||||
g_return_if_fail (widget != NULL);
|
g_return_if_fail (widget != NULL);
|
||||||
g_return_if_fail (GTK_IS_CLIST (widget));
|
g_return_if_fail (GTK_IS_CLIST (widget));
|
||||||
@@ -2002,7 +2004,8 @@ gtk_clist_draw (GtkWidget * widget,
|
|||||||
|
|
||||||
for (i = 0; i < clist->columns; i++)
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user