fix the cairo-fletcher-fluctuation

CF reports occasional “rendering icon 1 at size 1 x 1” 
always followed by “rendering icon 1 at size 21 x 21”. 
 
Probably a GTK bug with some specific version of GTK.
This commit is contained in:
Robin Gareus 2015-05-31 19:40:04 +02:00
parent 6c4d2a576d
commit 86f56de656

View File

@ -977,7 +977,9 @@ Gtkmm2ext::ArdourIcon::render (cairo_t *cr,
bool rv = true;
cairo_save (cr);
assert (width > 5 && height > 5);
if (width < 6 || height < 6) {
return false;
}
switch (icon) {
case TransportStop: