diff options
author | Tor Lillqvist <tml@iki.fi> | 2000-12-14 22:04:48 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2000-12-14 22:04:48 +0000 |
commit | 1b3ed686bdc299ab5b79eeb8a485f6d84189f4e6 (patch) | |
tree | c7d0889c1bccbb3ff2b035dd723a9f765dc2f463 /pango/pangoft2.c | |
parent | 8b142817fb10013066db5cf7a7d314d299741cc7 (diff) | |
download | pango-1b3ed686bdc299ab5b79eeb8a485f6d84189f4e6.tar.gz |
Update for newest FreeType2. (pango_ft2_font_finalize): gcc warns about
2000-12-15 Tor Lillqvist <tml@iki.fi>
* pango/pangoft2.c (pango_ft2_ft_strerror): Update for newest
FreeType2.
(pango_ft2_font_finalize): gcc warns about empty format strings,
so use just a space...
Diffstat (limited to 'pango/pangoft2.c')
-rw-r--r-- | pango/pangoft2.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pango/pangoft2.c b/pango/pangoft2.c index e1035c8f..7203df4b 100644 --- a/pango/pangoft2.c +++ b/pango/pangoft2.c @@ -855,7 +855,7 @@ pango_ft2_font_finalize (GObject *object) PangoFT2FontCache *cache = pango_ft2_font_map_get_font_cache (ft2font->fontmap); int i; - PING (("")); + PING ((" ")); for (i = 0; i < ft2font->n_fonts; i++) { @@ -1178,14 +1178,13 @@ ft_error_compare (const void *pkey, const char * pango_ft2_ft_strerror (FT_Error error) { -#undef FTERRORS_H +#undef __FTERRORS_H__ #define FT_ERRORDEF( e, v, s ) { e, s }, #define FT_ERROR_START_LIST { -#define FT_ERROR_END_LIST { 0, 0 } } +#define FT_ERROR_END_LIST { 0, 0 } }; const ft_error_description ft_errors[] = -#include <freetype/fterrors.h> - ; +#include FT_ERRORS_H #undef FT_ERRORDEF #undef FT_ERROR_START_LIST |