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
This commit is contained in:
Matthias Clasen
2015-05-04 23:21:17 -04:00
parent 0c922a9443
commit 049cbc8b74
8 changed files with 187 additions and 26 deletions

View File

@ -121,6 +121,9 @@ _gtk_font_chooser_install_properties (GObjectClass *klass)
g_object_class_override_property (klass,
GTK_FONT_CHOOSER_PROP_SHOW_PREVIEW_ENTRY,
"show-preview-entry");
g_object_class_override_property (klass,
GTK_FONT_CHOOSER_PROP_FONT_MAP,
"font-map");
}
/**