diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2010-03-22 18:43:26 +0000 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2010-03-22 18:43:26 +0000 |
commit | f749f3e6f351942a59211ce396d350164e6dd284 (patch) | |
tree | c93f0eb968529aef7e69ed8aa74974e695d9cbbd /gdata/gdata-parser.h | |
parent | 18831e7d65157a9f568b122b0411b3362c4f0f56 (diff) | |
download | libgdata-f749f3e6f351942a59211ce396d350164e6dd284.tar.gz |
[core] Constify GTimeVals and GDataColors where possible
Add const attributes to add GTimeVals and GDataColors where they're used
unmodified by a function.
Diffstat (limited to 'gdata/gdata-parser.h')
-rw-r--r-- | gdata/gdata-parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdata/gdata-parser.h b/gdata/gdata-parser.h index 1d3474e7..68f45553 100644 --- a/gdata/gdata-parser.h +++ b/gdata/gdata-parser.h @@ -32,7 +32,7 @@ gboolean gdata_parser_error_required_property_missing (xmlNode *element, const g gboolean gdata_parser_error_required_element_missing (const gchar *element_name, const gchar *parent_element_name, GError **error); gboolean gdata_parser_error_duplicate_element (xmlNode *element, GError **error); gboolean gdata_parser_time_val_from_date (const gchar *date, GTimeVal *_time); -gchar *gdata_parser_date_from_time_val (GTimeVal *_time) G_GNUC_WARN_UNUSED_RESULT; +gchar *gdata_parser_date_from_time_val (const GTimeVal *_time) G_GNUC_WARN_UNUSED_RESULT; void gdata_parser_string_append_escaped (GString *xml_string, const gchar *pre, const gchar *element_content, const gchar *post); gchar *gdata_parser_utf8_trim_whitespace (const gchar *s) G_GNUC_WARN_UNUSED_RESULT; |