So it will not warn on GTK+ 3.x. One less patch to do in gtk3-port. (cherry picked from commit e746fa51)