diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-01-24 16:10:36 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-01-24 16:10:36 +0000 |
commit | f68e0e2aa8816f9821a42b40f6def080851df418 (patch) | |
tree | 57b72972294f1f56e00903633f42044dfba50416 | |
parent | 8f690b9373af578eef8cf05dc18b022c78f0ebb3 (diff) | |
download | pango-f68e0e2aa8816f9821a42b40f6def080851df418.tar.gz |
Improve docs to say it may return -1.
2006-01-24 Behdad Esfahbod <behdad@gnome.org>
* pango/pangolayout.c (pango_layout_get_width): Improve docs to say
it may return -1.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | pango/pango-layout.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-01-24 Behdad Esfahbod <behdad@gnome.org> + + * pango/pangolayout.c (pango_layout_get_width): Improve docs to say + it may return -1. + 2006-01-23 Behdad Esfahbod <behdad@gnome.org> * modules/indic/indic-fc.c: Draw an unknown glyph on missing glyphs, diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 0a1ae92f..6558c775 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -310,7 +310,7 @@ pango_layout_set_width (PangoLayout *layout, * * Gets the width to which the lines of the #PangoLayout should wrap. * - * Return value: the width. + * Return value: the width, or -1 if no width set. **/ int pango_layout_get_width (PangoLayout *layout) |