forked from AuroraMiddleware/gtk
Don't use magic zero height/width argument to gdk_window_clear_area
This is an undocumented feature that we stopped supporting, and anyway it likely only ever worked on X anyway.
This commit is contained in:
parent
0a46d331eb
commit
0df4283574
@ -5925,8 +5925,14 @@ draw_rows (GtkCList *clist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!area)
|
if (!area)
|
||||||
gdk_window_clear_area (clist->clist_window, 0,
|
{
|
||||||
ROW_TOP_YPIXEL (clist, i), 0, 0);
|
int w, h, y;
|
||||||
|
gdk_drawable_get_size (GDK_DRAWABLE (clist->clist_window), &w, &h);
|
||||||
|
y = ROW_TOP_YPIXEL (clist, i);
|
||||||
|
gdk_window_clear_area (clist->clist_window,
|
||||||
|
0, y,
|
||||||
|
w, h - y);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user