summaryrefslogtreecommitdiff
path: root/gtk/gtkfontchooserutils.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-03-31 09:57:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2018-05-18 09:31:15 +0100
commit6271326718a46711bc7ebb6a25a7d11b023546ef (patch)
treeff08acd418e4385b2488d07ae5a553252ca17f0f /gtk/gtkfontchooserutils.c
parentd60cd1f49f057067de4968b3d275510fe1089a70 (diff)
downloadgtk+-6271326718a46711bc7ebb6a25a7d11b023546ef.tar.gz
font chooser: Add properties for font features and language
These can't be returned as part of the font description, so we need new api for them. For now, this is just readonly properties. Maybe these should be writable too, eventually.
Diffstat (limited to 'gtk/gtkfontchooserutils.c')
-rw-r--r--gtk/gtkfontchooserutils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkfontchooserutils.c b/gtk/gtkfontchooserutils.c
index 09469bd3c9..84079d276d 100644
--- a/gtk/gtkfontchooserutils.c
+++ b/gtk/gtkfontchooserutils.c
@@ -137,6 +137,12 @@ _gtk_font_chooser_install_properties (GObjectClass *klass)
g_object_class_override_property (klass,
GTK_FONT_CHOOSER_PROP_LEVEL,
"level");
+ g_object_class_override_property (klass,
+ GTK_FONT_CHOOSER_PROP_FONT_FEATURES,
+ "font-features");
+ g_object_class_override_property (klass,
+ GTK_FONT_CHOOSER_PROP_LANGUAGE,
+ "language");
}
/**