summaryrefslogtreecommitdiff
path: root/gdata/gdata-parser.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2009-03-30 20:44:26 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2009-03-30 20:44:26 +0100
commit252f60c1de6325dd7b2197d8d9a0c46b855df585 (patch)
treee7bd067b6f6c863fb55fe9f4d7205a47f81f25fb /gdata/gdata-parser.c
parent4d2a7e57506eaeb8e02f3453d8d19cc466f278c1 (diff)
downloadlibgdata-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.c4
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."),