small fixup, so that the clist doesn't draw if it is

not realized.
-timj
This commit is contained in:
Tim Janik
1998-02-11 05:07:36 +00:00
parent f747f3b2cd
commit c305397fca

View File

@ -2594,7 +2594,8 @@ draw_rows (GtkCList * clist,
g_return_if_fail (clist != NULL);
g_return_if_fail (GTK_IS_CLIST (clist));
if (clist->row_height == 0)
if (clist->row_height == 0 ||
!GTK_WIDGET_DRAWABLE (clist))
return;
if (area)