diff options
Diffstat (limited to 'pango/pango-fontmap.c')
-rw-r--r-- | pango/pango-fontmap.c | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/pango/pango-fontmap.c b/pango/pango-fontmap.c index 61e8553f..a7b5b5f2 100644 --- a/pango/pango-fontmap.c +++ b/pango/pango-fontmap.c @@ -68,29 +68,6 @@ pango_font_map_load_font (PangoFontMap *fontmap, } /** - * pango_font_map_list_fonts: - * @fontmap: a #PangoFontMap - * @family: the family for which to list the fonts, or %NULL - * to list fonts in all families. - * @descs: location to store a pointer to an array of pointers to - * #PangoFontDescription. This array should be freed - * with pango_font_descriptions_free(). - * @n_descs: location to store the number of elements in @descs - * - * List all fonts in a fontmap, or the fonts in a particular family. - **/ -void -pango_font_map_list_fonts (PangoFontMap *fontmap, - const char *family, - PangoFontDescription ***descs, - int *n_descs) -{ - g_return_if_fail (fontmap != NULL); - - PANGO_FONT_MAP_GET_CLASS (fontmap)->list_fonts (fontmap, family, descs, n_descs); -} - -/** * pango_font_map_list_families: * @fontmap: a #PangoFontMap * @families: location to store a pointer to an array of strings. @@ -100,9 +77,9 @@ pango_font_map_list_fonts (PangoFontMap *fontmap, * List all families for a fontmap. **/ void -pango_font_map_list_families (PangoFontMap *fontmap, - gchar ***families, - int *n_families) +pango_font_map_list_families (PangoFontMap *fontmap, + PangoFontFamily ***families, + int *n_families) { g_return_if_fail (fontmap != NULL); |