DATAACQTEAM-121 Avoid client crash when gtk>=2.24 and cairo<1.9.4