diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-04-15 21:35:07 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-04-18 19:09:48 +0800 |
commit | 05ab1873675c5e2a6a04c85ef976fb1067a0d743 (patch) | |
tree | 75523f7b67c78a4564bc37e2cfd83872aa4546fc /libempathy | |
parent | fde2bece1e5729ce6907f22a6ae48bb3d1eccab4 (diff) | |
download | gsoc2013-empathy-05ab1873675c5e2a6a04c85ef976fb1067a0d743.tar gsoc2013-empathy-05ab1873675c5e2a6a04c85ef976fb1067a0d743.tar.gz gsoc2013-empathy-05ab1873675c5e2a6a04c85ef976fb1067a0d743.tar.bz2 gsoc2013-empathy-05ab1873675c5e2a6a04c85ef976fb1067a0d743.tar.lz gsoc2013-empathy-05ab1873675c5e2a6a04c85ef976fb1067a0d743.tar.xz gsoc2013-empathy-05ab1873675c5e2a6a04c85ef976fb1067a0d743.tar.zst gsoc2013-empathy-05ab1873675c5e2a6a04c85ef976fb1067a0d743.zip |
empathy-message: add missing getter/setter
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-message.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libempathy/empathy-message.c b/libempathy/empathy-message.c index 65ea2ae40..f98e955a0 100644 --- a/libempathy/empathy-message.c +++ b/libempathy/empathy-message.c @@ -205,9 +205,18 @@ message_get_property (GObject *object, case PROP_BODY: g_value_set_string (value, priv->body); break; + case PROP_TIMESTAMP: + g_value_set_long (value, priv->timestamp); + break; + case PROP_IS_BACKLOG: + g_value_set_boolean (value, priv->is_backlog); + break; case PROP_INCOMING: g_value_set_boolean (value, priv->incoming); break; + case PROP_FLAGS: + g_value_set_uint (value, priv->flags); + break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); break; @@ -241,9 +250,18 @@ message_set_property (GObject *object, empathy_message_set_body (EMPATHY_MESSAGE (object), g_value_get_string (value)); break; + case PROP_TIMESTAMP: + priv->timestamp = g_value_get_long (value); + break; + case PROP_IS_BACKLOG: + priv->is_backlog = g_value_get_boolean (value); + break; case PROP_INCOMING: priv->incoming = g_value_get_boolean (value); break; + case PROP_FLAGS: + priv->flags = g_value_get_uint (value); + break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); break; |