summaryrefslogtreecommitdiff
path: root/gtk/gtkfontchooser.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-04-02 13:34:22 -0400
committerMatthias Clasen <mclasen@redhat.com>2018-04-02 13:37:53 -0400
commit5a68ac27cf6dd932002239ddb544c2cc75c352ef (patch)
tree90dffdc9c56af8c1925ab6c287a72340e648bfc1 /gtk/gtkfontchooser.h
parent464943e5a69ad0c94d06170ffac91b6ba3aba703 (diff)
downloadgtk+-5a68ac27cf6dd932002239ddb544c2cc75c352ef.tar.gz
font chooser: Make the language property writable
This is meant as an input to the font chooser. We don't want the user to select a language, but rather have fonts presented as they would work for the current language. Therefore, do away with the lang/script combo on the tweak page.
Diffstat (limited to 'gtk/gtkfontchooser.h')
-rw-r--r--gtk/gtkfontchooser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkfontchooser.h b/gtk/gtkfontchooser.h
index d04026ba37..922258839c 100644
--- a/gtk/gtkfontchooser.h
+++ b/gtk/gtkfontchooser.h
@@ -154,6 +154,9 @@ GDK_AVAILABLE_IN_ALL
char * gtk_font_chooser_get_font_features (GtkFontChooser *fontchooser);
GDK_AVAILABLE_IN_ALL
char * gtk_font_chooser_get_language (GtkFontChooser *fontchooser);
+GDK_AVAILABLE_IN_ALL
+void gtk_font_chooser_set_language (GtkFontChooser *fontchooser,
+ const char *language);
G_END_DECLS