diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-05-04 23:21:17 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-05-07 07:33:23 -0400 |
commit | 049cbc8b74aa7a6fff1627c8c65cbfd3c86dfde8 (patch) | |
tree | 0dba4d33c0572a3da8b0b6c877cb1f3ecd575ba2 /gtk/gtkfontchooser.h | |
parent | 0c922a9443f5fbb71ceba4e1ad0330c069a7c779 (diff) | |
download | gtk+-049cbc8b74aa7a6fff1627c8c65cbfd3c86dfde8.tar.gz |
GtkFontChooser: Allow a custom font map
This lets applications show their own fonts instead of
or in addition to system fonts.
https://bugzilla.gnome.org/show_bug.cgi?id=748771
Diffstat (limited to 'gtk/gtkfontchooser.h')
-rw-r--r-- | gtk/gtkfontchooser.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkfontchooser.h b/gtk/gtkfontchooser.h index 1c1bbf09b1..84693c1fe4 100644 --- a/gtk/gtkfontchooser.h +++ b/gtk/gtkfontchooser.h @@ -112,6 +112,11 @@ void gtk_font_chooser_set_filter_func (GtkFontChooser *fo GtkFontFilterFunc filter, gpointer user_data, GDestroyNotify destroy); +GDK_AVAILABLE_IN_3_18 +void gtk_font_chooser_set_font_map (GtkFontChooser *fontchooser, + PangoFontMap *fontmap); +GDK_AVAILABLE_IN_3_18 +PangoFontMap * gtk_font_chooser_get_font_map (GtkFontChooser *fontchooser); G_END_DECLS |