diff options
author | Havoc Pennington <hp@pobox.com> | 2001-04-17 01:49:07 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-04-17 01:49:07 +0000 |
commit | d17adb44478e516b207b25afc1d6e87d5d274c96 (patch) | |
tree | a0f7dbe8d01a582dc867406996577b118ab87d0f /pango/pango-attributes.c | |
parent | 230cda5893ca4948e97f5556b52f23131279953f (diff) | |
download | pango-d17adb44478e516b207b25afc1d6e87d5d274c96.tar.gz |
Removed pango_justify(), since it has no implementation that I can find.
2001-04-16 Havoc Pennington <hp@pobox.com>
* pango/pango-glyph.h: Removed pango_justify(), since it has no
implementation that I can find.
* pango/pango-attributes.c: docs
* pango/pango-layout.c: docs
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r-- | pango/pango-attributes.c | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index e8c7c731..6d5d5b90 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -1261,7 +1261,7 @@ pango_attr_iterator_next (PangoAttrIterator *iterator) } /** - * pango_attr_iterator_destroy: + * pango_attr_iterator_copy: * @iterator: a #PangoAttrIterator. * * Copy a #PangoAttrIterator @@ -1512,6 +1512,17 @@ pango_color_get_type (void) return our_type; } +/** + * pango_color_copy: + * @src: color to copy + * + * Creates a copy of @src, which should be freed with + * pango_color_free(). Primarily used by language bindings, + * not that useful otherwise (since colors can just be copied + * by assignment in C). + * + * Return value: an allocated #PangoColor + **/ PangoColor* pango_color_copy (const PangoColor *src) { @@ -1526,6 +1537,12 @@ pango_color_copy (const PangoColor *src) return ret; } +/** + * pango_color_free: + * @color: an allocated #PangoColor + * + * Frees a color allocated by pango_color_copy(). + **/ void pango_color_free (PangoColor *color) { |