diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-10-24 05:43:57 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-10-24 05:43:57 +0000 |
commit | 4c0ae27426d686e6bd9365b4d0f02d444e6cf667 (patch) | |
tree | 2852ed499c62068218f932306faa27c4fb36a9cc /docs | |
parent | b178da14dabd63937c3867f6d5cbb29f7a31d69f (diff) | |
download | pango-4c0ae27426d686e6bd9365b4d0f02d444e6cf667.tar.gz |
Bug 469641 – Initialize attribute start/end to [0..MAXUINT]
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 469641 – Initialize attribute start/end to [0..MAXUINT]
* pango/pango-attributes.h:
* pango/pango-attributes.c:
New public API:
pango_attribute_init()
* pango/pango-attributes.c:
(pango_attr_string_new), (pango_attr_language_new),
(pango_attr_color_new), (pango_attr_int_new),
(pango_attr_float_new), (pango_attr_size_new_internal),
(pango_attr_font_desc_new), (pango_attr_shape_new_with_data):
Initialize attributes using pango_attribute_init().
* pango/pango.def:
* docs/pango-docs.sgml:
* docs/pango-sections.txt:
* docs/tmpl/text-attributes.sgml:
Update.
svn path=/trunk/; revision=2458
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pango-docs.sgml | 3 | ||||
-rw-r--r-- | docs/pango-sections.txt | 1 | ||||
-rw-r--r-- | docs/tmpl/glyphs.sgml | 1 | ||||
-rw-r--r-- | docs/tmpl/text-attributes.sgml | 12 |
4 files changed, 16 insertions, 1 deletions
diff --git a/docs/pango-docs.sgml b/docs/pango-docs.sgml index 3c82eeec..3c4cc567 100644 --- a/docs/pango-docs.sgml +++ b/docs/pango-docs.sgml @@ -121,4 +121,7 @@ <index id="index-1.18" role="1.18"> <title>Index of new symbols in 1.18</title> </index> + <index id="index-1.20" role="1.20"> + <title>Index of new symbols in 1.20</title> + </index> </book> diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt index 4ff5160a..df043d75 100644 --- a/docs/pango-sections.txt +++ b/docs/pango-sections.txt @@ -325,6 +325,7 @@ PangoAttrShape PangoAttrSize pango_parse_markup pango_attr_type_register +pango_attribute_init pango_attribute_copy pango_attribute_equal pango_attribute_destroy diff --git a/docs/tmpl/glyphs.sgml b/docs/tmpl/glyphs.sgml index edf06acb..46a2b2f0 100644 --- a/docs/tmpl/glyphs.sgml +++ b/docs/tmpl/glyphs.sgml @@ -517,6 +517,7 @@ The #GObject type for #PangoGlyphString. The #GObject type for #PangoGlyphItem. </para> +@Since: 1.20 <!-- ##### FUNCTION pango_glyph_item_split ##### --> diff --git a/docs/tmpl/text-attributes.sgml b/docs/tmpl/text-attributes.sgml index 79f9ac94..f2f66fdc 100644 --- a/docs/tmpl/text-attributes.sgml +++ b/docs/tmpl/text-attributes.sgml @@ -81,7 +81,8 @@ The #PangoAttribute structure represents the common portions of all attributes. Particular types of attributes include this structure as their initial portion. The common portion of the attribute holds the range to which the value in the type-specific part of the attribute -applies. +applies and should be initialized using pango_attribute_init(). +By default an attribute will have an all-inclusive range of [0,%G_MAXUINT]. </para> @klass: the class structure holding information about the type of the attribute @@ -194,6 +195,15 @@ set font size. @Returns: +<!-- ##### FUNCTION pango_attribute_init ##### --> +<para> + +</para> + +@attr: +@klass: + + <!-- ##### FUNCTION pango_attribute_copy ##### --> <para> |