diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2009-03-30 20:44:26 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2009-03-30 20:44:26 +0100 |
commit | 252f60c1de6325dd7b2197d8d9a0c46b855df585 (patch) | |
tree | e7bd067b6f6c863fb55fe9f4d7205a47f81f25fb /gdata/gdata-parser.c | |
parent | 4d2a7e57506eaeb8e02f3453d8d19cc466f278c1 (diff) | |
download | libgdata-252f60c1de6325dd7b2197d8d9a0c46b855df585.tar.gz |
Made a few parser functions private and documented the parser error codes.
Diffstat (limited to 'gdata/gdata-parser.c')
-rw-r--r-- | gdata/gdata-parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdata/gdata-parser.c b/gdata/gdata-parser.c index 2ceb321b..e6b8a69e 100644 --- a/gdata/gdata-parser.c +++ b/gdata/gdata-parser.c @@ -23,6 +23,7 @@ #include "gdata-service.h" #include "gdata-parser.h" +#include "gdata-private.h" GQuark gdata_parser_error_quark (void) @@ -39,9 +40,8 @@ gdata_parser_error_required_content_missing (const gchar *element_name, GError * return FALSE; } -/* TODO: parameters are in the wrong order */ gboolean -gdata_parser_error_not_iso8601_format (const gchar *parent_element_name, const gchar *element_name, const gchar *actual_value, GError **error) +gdata_parser_error_not_iso8601_format (const gchar *element_name, const gchar *parent_element_name, const gchar *actual_value, GError **error) { g_set_error (error, GDATA_SERVICE_ERROR, GDATA_SERVICE_ERROR_PROTOCOL_ERROR, _("A <%s>'s <%s> element (\"%s\") was not in ISO8601 format."), |