X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/44fd6f721ad375033b2a2b64ac5f703ac70cb8f0..7e126a0784c24166888759bbc96d65a59c062fa8:/src/gtk1/settings.cpp diff --git a/src/gtk1/settings.cpp b/src/gtk1/settings.cpp index 29c639b590..99a09be81e 100644 --- a/src/gtk1/settings.cpp +++ b/src/gtk1/settings.cpp @@ -308,7 +308,8 @@ wxFont wxSystemSettingsNative::GetFont( wxSystemFont index ) if ( def && def->font_desc ) { wxNativeFontInfo info; - info.description = def->font_desc; + info.description = + pango_font_description_copy(def->font_desc); gs_objects.m_fontSystem = wxFont(info); } else