Correctly position diag message depending on gtk version