Commit c305397f authored by Tim Janik's avatar Tim Janik

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

not realized.
-timj
parent f747f3b2
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment