diff --git a/src/x11/app.cpp b/src/x11/app.cpp index 5c62d41d8c..b7c8a12636 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -184,8 +184,11 @@ bool wxApp::Initialize(int& argC, wxChar **argV) return false; #if wxUSE_UNICODE - // Glib's type system required by Pango + // Glib's type system required by Pango (deprecated since glib 2.36 but + // used to be required, so still call it, it's harmless). + wxGCC_WARNING_SUPPRESS(deprecated-declarations) g_type_init(); + wxGCC_WARNING_RESTORE() #endif #if wxUSE_INTL