Doc improvements

svn path=/trunk/; revision=5988
This commit is contained in:
Matthias Clasen 2007-11-29 02:58:24 +00:00
parent 6623170e65
commit cf0b542ab0
3 changed files with 11 additions and 9 deletions

View File

@ -1,7 +1,8 @@
2007-11-28 Matthias Clasen <mclasen@redhat.com> 2007-11-28 Matthias Clasen <mclasen@redhat.com>
* glib/gmarkup.h:
* glib/gmarkup.c: * glib/gmarkup.c:
* glib/gerror.c: Add Since: tags to new API * glib/gerror.c: Add Since: tags to new API, other doc improvements.
2007-11-28 Matthias Clasen <mclasen@redhat.com> 2007-11-28 Matthias Clasen <mclasen@redhat.com>

View File

@ -2447,12 +2447,13 @@ g_markup_parse_boolean (const char *string,
* particular attribute is to be allowed but * particular attribute is to be allowed but
* ignored. * ignored.
* *
* This function deals with issuing errors for * This function deals with issuing errors for missing attributes
* missing attributes, unknown attributes and * (of type %G_MARKUP_ERROR_MISSING_ATTRIBUTE), unknown attributes
* duplicate attributes as well as parse errors * (of type %G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE) and duplicate
* for boolean-valued attributes. In all of these * attributes (of type %G_MARKUP_ERROR_INVALID_CONTENT) as well
* cases %FALSE will be returned and @error will * as parse errors for boolean-valued attributes (again of type
* be set as appropriate. * %G_MARKUP_ERROR_INVALID_CONTENT). In all of these cases %FALSE
* will be returned and @error will be set as appropriate.
* *
* Return value: %TRUE if successful * Return value: %TRUE if successful
* *

View File

@ -33,7 +33,7 @@ typedef enum
G_MARKUP_ERROR_BAD_UTF8, G_MARKUP_ERROR_BAD_UTF8,
G_MARKUP_ERROR_EMPTY, G_MARKUP_ERROR_EMPTY,
G_MARKUP_ERROR_PARSE, G_MARKUP_ERROR_PARSE,
/* These three are primarily intended for specific GMarkupParser /* The following are primarily intended for specific GMarkupParser
* implementations to set. * implementations to set.
*/ */
G_MARKUP_ERROR_UNKNOWN_ELEMENT, G_MARKUP_ERROR_UNKNOWN_ELEMENT,