summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/fonts.c5
-rw-r--r--tests/test-font.c2
2 files changed, 3 insertions, 4 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.
diff --git a/tests/test-font.c b/tests/test-font.c
index d02c7932..58a5bf8c 100644
--- a/tests/test-font.c
+++ b/tests/test-font.c
@@ -220,7 +220,7 @@ test_enumerate (void)
for (i = 0; i < n_faces; i++)
{
face = pango_font_family_get_face (families[0], pango_font_face_get_face_name (faces[i]));
- g_assert_true (face == faces[i]);
+ g_assert_cmpstr (pango_font_face_get_face_name (face), ==, pango_font_face_get_face_name (faces[i]));
}
desc = pango_font_description_new ();