From cb49eb516203d0d8a3490ca689c8bf49760620b9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 24 Feb 2016 19:38:10 +0100 Subject: [PATCH] Fix harmless deprecation warning for g_type_init() in drawing test Same as 3dde6ec2feb2bb34a5ee95bcac44c91c2525a54a. --- tests/drawing/fonttest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/drawing/fonttest.cpp b/tests/drawing/fonttest.cpp index c7c0a0457d..c439dfca3d 100644 --- a/tests/drawing/fonttest.cpp +++ b/tests/drawing/fonttest.cpp @@ -36,7 +36,9 @@ GraphicsContextDrawingTestCase::ms_drawingFontTc = { void GraphicsContextDrawingTestCase::DoFontDrawings (wxGraphicsContext *gc) { #ifdef __WXGTK__ + wxGCC_WARNING_SUPPRESS(deprecated-declarations) g_type_init(); + wxGCC_WARNING_RESTORE() #endif // This test is expected to treat about fonts/texts. Fonts are a bit special