Avoid warnings when building with Gtk+ >= 3 (untested)