Fix harmless deprecation warning for g_type_init() in drawing test

Same as 3dde6ec2fe.
This commit is contained in:
Vadim Zeitlin 2016-02-24 19:38:10 +01:00
parent 07a2fd0162
commit cb49eb5162

View File

@ -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