summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-23 12:22:24 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-01-23 12:36:45 -0500
commita5161c21da9a7be278827c90c339529f87a9be8f (patch)
tree8b4dac608e206e0e16489d2a3ec46fefa3455a49
parent65577fee8e8e7e01cabab72552f64f668270e640 (diff)
downloadpango-a5161c21da9a7be278827c90c339529f87a9be8f.tar.gz
Don't promise too much
The docs were claiming that face names are unique, but we don't know that, and it doesn't hold in practice. Fixes: #528
-rw-r--r--pango/fonts.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 1695366b..0b76d9dd 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -2457,9 +2457,8 @@ pango_font_face_is_synthesized (PangoFontFace *face)
* @face: a #PangoFontFace.
*
* Gets a name representing the style of this face among the
- * different faces in the #PangoFontFamily for the face. This
- * name is unique among all faces in the family and is suitable
- * for displaying to users.
+ * different faces in the #PangoFontFamily for the face. The
+ * name is suitable for displaying to users.
*
* Return value: the face name for the face. This string is
* owned by the face object and must not be modified or freed.