diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2015-04-16 00:46:32 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2015-04-16 00:48:06 +0100 |
commit | c975b7b55a7c32f5d4146b1b799ad4c6456c7b17 (patch) | |
tree | 621cb799abd23562a0d364d570c69a93304f53da /gdata/gdata-entry.c | |
parent | d6ddcbfe28f236f3f6a17fd980f03b2306135ec8 (diff) | |
download | libgdata-c975b7b55a7c32f5d4146b1b799ad4c6456c7b17.tar.gz |
core: Add internal helper API for setting GDataEntry:published
This will be used in the upcoming ports of services to JSON.
https://bugzilla.gnome.org/show_bug.cgi?id=687597
Diffstat (limited to 'gdata/gdata-entry.c')
-rw-r--r-- | gdata/gdata-entry.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gdata/gdata-entry.c b/gdata/gdata-entry.c index be242e59..7c5c7dc2 100644 --- a/gdata/gdata-entry.c +++ b/gdata/gdata-entry.c @@ -849,6 +849,22 @@ _gdata_entry_set_updated (GDataEntry *self, gint64 updated) self->priv->updated = updated; } +/* + * _gdata_entry_set_published: + * @self: a #GDataEntry + * @updated: the new published value + * + * Sets the value of the #GDataEntry:published property to @published. + * + * Since: UNRELEASED + */ +void +_gdata_entry_set_published (GDataEntry *self, gint64 published) +{ + g_return_if_fail (GDATA_IS_ENTRY (self)); + self->priv->published = published; +} + /** * gdata_entry_get_published: * @self: a #GDataEntry |