summaryrefslogtreecommitdiff
path: root/pango/pangoxft-font.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-08-20 21:57:35 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-08-20 21:57:35 +0000
commit2a04060abb3d4916a9ea2c2951122ab67cc429f0 (patch)
tree554a18cb49c6cb091b1a93fc417bb58f8f0cb7fe /pango/pangoxft-font.c
parentd790345a523f69042bb88c5b023ae7c1bc0b2dd2 (diff)
downloadpango-2a04060abb3d4916a9ea2c2951122ab67cc429f0.tar.gz
Released 1.1.1.PANGO_1_1_1
Tue Aug 20 17:31:39 2002 Owen Taylor <otaylor@redhat.com> * Released 1.1.1. * configure.in: Update versions numbers. * NEWS: Updated. * docs/pango-sections.txt: Updated. * pango/pangoxft-font.c (pango_xft_font_[un]lock_face): Fix docs.
Diffstat (limited to 'pango/pangoxft-font.c')
-rw-r--r--pango/pangoxft-font.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/pango/pangoxft-font.c b/pango/pangoxft-font.c
index 2d072757..690469f2 100644
--- a/pango/pangoxft-font.c
+++ b/pango/pangoxft-font.c
@@ -786,10 +786,12 @@ pango_xft_font_get_unknown_glyph (PangoFont *font,
}
/**
- * pango_xft_font_get_face:
+ * pango_xft_font_lock_face:
* @font: a #PangoFont.
*
- * Gets the FreeType FT_Face associated with a font.
+ * Gets the FreeType FT_Face associated with a font,
+ * This face will be kept around until you call
+ * pango_xft_font_unlock_face().
*
* Returns: the FreeType FT_Face associated with @font.
**/
@@ -809,9 +811,8 @@ pango_xft_font_lock_face (PangoFont *font)
* pango_xft_font_unlock_face:
* @font: a #PangoFont.
*
- * Gets the FreeType FT_Face associated with a font.
- *
- * Returns: the FreeType FT_Face associated with @font.
+ * Releases a font previously obtained with
+ * pango_xft_font_lock_face().
**/
void
pango_xft_font_unlock_face (PangoFont *font)