diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-03 13:30:13 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-03 15:07:18 +0000 |
commit | 872a92b874270ac3b83b0e206fb5b15a7405502a (patch) | |
tree | 44320418c30ef2985880a2f65f8f3a2cfb6ec249 /src/cairo-scaled-font.c | |
parent | 734a541dc34565f40fe0ae4e93c81c4849198a79 (diff) | |
download | cairo-872a92b874270ac3b83b0e206fb5b15a7405502a.tar.gz |
scaled-font: Mention ownership of returned object from get_font_face()
As suggested by Simon Sapin.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-scaled-font.c')
-rw-r--r-- | src/cairo-scaled-font.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c index e7eb4cc29..dc6a6fd71 100644 --- a/src/cairo-scaled-font.c +++ b/src/cairo-scaled-font.c @@ -3004,7 +3004,8 @@ _cairo_scaled_font_get_max_scale (cairo_scaled_font_t *scaled_font) * hold true for all possible cases. * * Return value: The #cairo_font_face_t with which @scaled_font was - * created. + * created. This object is owned by cairo. To keep a reference to it, + * you must call cairo_scaled_font_reference(). * * Since: 1.2 **/ |