summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-11-23 08:17:49 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-11-23 08:18:37 -0500
commit98fd5bda5843af826488240321f0d7f649d1badc (patch)
treeb2438b1a391a38f05250729d28094319052c6d85
parent3e649c48121c9fbb57da8216ea9d268ae4f1ae2b (diff)
downloadgtk+-98fd5bda5843af826488240321f0d7f649d1badc.tar.gz
Tweak the gtk-font-name setting docs
Clarify that only parts of the font name are used. https://bugzilla.gnome.org/show_bug.cgi?id=758367
-rw-r--r--gtk/gtksettings.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 11b11916a1..13455846ea 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -507,10 +507,15 @@ gtk_settings_class_init (GtkSettingsClass *class)
NULL);
g_assert (result == PROP_DND_DRAG_THRESHOLD);
+ /**
+ * GtkSettings:gtk-font-name:
+ *
+ * The default font to use. GTK+ uses the family name and size from this string.
+ */
result = settings_install_property_parser (class,
g_param_spec_string ("gtk-font-name",
P_("Font Name"),
- P_("Name of default font to use"),
+ P_("The default font family and size to use"),
"Sans 10",
GTK_PARAM_READWRITE),
NULL);