X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff654490b7cb185631a1dc4621094d88643ccf41..dca2fe5daecf9c74f227062d8a9a259b4e5ef1fc:/src/unix/fontenum.cpp?ds=sidebyside diff --git a/src/unix/fontenum.cpp b/src/unix/fontenum.cpp index b7a026e5b6..cc7ee1dad4 100644 --- a/src/unix/fontenum.cpp +++ b/src/unix/fontenum.cpp @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 01.10.99 -// RCS-ID: $Id$ // Copyright: (c) Vadim Zeitlin // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -49,7 +48,9 @@ extern GtkWidget *wxGetRootWindow(); #endif // __WXGTK20__ -extern "C" int wxCMPFUNC_CONV +extern "C" +{ +static int wxCMPFUNC_CONV wxCompareFamilies (const void *a, const void *b) { const char *a_name = pango_font_family_get_name (*(PangoFontFamily **)a); @@ -57,6 +58,7 @@ wxCompareFamilies (const void *a, const void *b) return g_utf8_collate (a_name, b_name); } +} bool wxFontEnumerator::EnumerateFacenames(wxFontEncoding encoding, bool fixedWidthOnly)