[gtk+] Tweak the gtk-font-name setting docs



commit 98fd5bda5843af826488240321f0d7f649d1badc
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Nov 23 08:17:49 2015 -0500

    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

 gtk/gtksettings.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 11b1191..1345584 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]