Avoid some GTK runtime warnings