GtkWidget: Fix set_font_map docs

A typo and non-matching parameter names.
This commit is contained in:
Timm Bäder 2015-07-23 17:57:47 +02:00
parent 44608dadc6
commit 56051b0bd8
2 changed files with 2 additions and 2 deletions

View File

@ -10442,7 +10442,7 @@ gtk_widget_set_font_map_recurse (GtkWidget *widget, gpointer data)
/**
* gtk_widget_set_font_map:
* @widget: a #GtkWidget
* @font_map: (allow-nonw): a #PangoFontMap, or %NULL to unset any previously
* @font_map: (allow-none): a #PangoFontMap, or %NULL to unset any previously
* set font map
*
* Sets the font map to use for Pango rendering. When not set, the widget

View File

@ -1489,7 +1489,7 @@ const gchar ** gtk_widget_list_action_prefixes (GtkWidget *
GDK_AVAILABLE_IN_3_18
void gtk_widget_set_font_map (GtkWidget *widget,
PangoFontMap *fontmap);
PangoFontMap *font_map);
GDK_AVAILABLE_IN_3_18
PangoFontMap * gtk_widget_get_font_map (GtkWidget *widget);