Fix deprecation warning for gtk+3-3.12