small fixup, so that the clist doesn't draw if it is
not realized. -timj
This commit is contained in:
@ -2594,7 +2594,8 @@ draw_rows (GtkCList * clist,
|
|||||||
g_return_if_fail (clist != NULL);
|
g_return_if_fail (clist != NULL);
|
||||||
g_return_if_fail (GTK_IS_CLIST (clist));
|
g_return_if_fail (GTK_IS_CLIST (clist));
|
||||||
|
|
||||||
if (clist->row_height == 0)
|
if (clist->row_height == 0 ||
|
||||||
|
!GTK_WIDGET_DRAWABLE (clist))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (area)
|
if (area)
|
||||||
|
Reference in New Issue
Block a user