summaryrefslogtreecommitdiff
path: root/gdata/gdata-parser.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2012-04-14 11:13:40 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2012-04-14 11:29:37 +0100
commit282d44478b67a7c86f92fb4fa416c47c1cdc101a (patch)
tree4903716d0ae9b2eb07b07f02a706dd0eaad8b3b1 /gdata/gdata-parser.c
parentc31f3d6e8955c37c1351644527917bd9cb082623 (diff)
downloadlibgdata-282d44478b67a7c86f92fb4fa416c47c1cdc101a.tar.gz
core: Rename gdata_parser_int64_from_element()
So that a new int64 parsing method can be added.
Diffstat (limited to 'gdata/gdata-parser.c')
-rw-r--r--gdata/gdata-parser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdata/gdata-parser.c b/gdata/gdata-parser.c
index 4f8eb482..8710c655 100644
--- a/gdata/gdata-parser.c
+++ b/gdata/gdata-parser.c
@@ -388,7 +388,7 @@ gdata_parser_string_from_element (xmlNode *element, const gchar *element_name, G
}
/*
- * gdata_parser_time_val_from_element:
+ * gdata_parser_int64_time_from_element:
* @element: the element to check against
* @element_name: the name of the element to parse
* @options: a bitwise combination of parsing options from #GDataParserOptions, or %P_NONE
@@ -408,17 +408,17 @@ gdata_parser_string_from_element (xmlNode *element, const gchar *element_name, G
* If @element matches @element_name and all of the checks specified by @options pass, %TRUE will be returned, @error will be unset and
* @success will be set to %TRUE.
*
- * The reason for returning the success of the parsing in @success is so that calls to gdata_parser_time_val_from_element() can be chained
+ * The reason for returning the success of the parsing in @success is so that calls to gdata_parser_int64_time_from_element() can be chained
* together in a large "or" statement based on their return values, for the purposes of determining whether any of the calls matched
- * a given @element. If any of the calls to gdata_parser_time_val_from_element() return %TRUE, the value of @success can be examined.
+ * a given @element. If any of the calls to gdata_parser_int64_time_from_element() return %TRUE, the value of @success can be examined.
*
* Return value: %TRUE if @element matched @element_name, %FALSE otherwise
*
* Since: 0.7.0
*/
gboolean
-gdata_parser_int64_from_element (xmlNode *element, const gchar *element_name, GDataParserOptions options,
- gint64 *output, gboolean *success, GError **error)
+gdata_parser_int64_time_from_element (xmlNode *element, const gchar *element_name, GDataParserOptions options,
+ gint64 *output, gboolean *success, GError **error)
{
xmlChar *text;
GTimeVal time_val;