diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-01-18 10:10:13 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-01-19 16:24:40 -0500 |
commit | 7439e7a8b2bd37141b7c1591bc4ffce8909bf6a6 (patch) | |
tree | c3526bd20945536a6e48fcc49f218d71bdbbf104 /telepathy-logger/entity.c | |
parent | a91a32e0dbd0ccb80a5fe77a7f0811b442e9f439 (diff) | |
download | telepathy-logger-7439e7a8b2bd37141b7c1591bc4ffce8909bf6a6.tar.gz |
Entity style fix
Diffstat (limited to 'telepathy-logger/entity.c')
-rw-r--r-- | telepathy-logger/entity.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/telepathy-logger/entity.c b/telepathy-logger/entity.c index ca8dccb..f574db7 100644 --- a/telepathy-logger/entity.c +++ b/telepathy-logger/entity.c @@ -186,6 +186,16 @@ tpl_entity_init (TplEntity *self) } +TplEntity * +_tpl_entity_new (const gchar *identifier) +{ + g_return_val_if_fail (!TPL_STR_EMPTY (identifier), NULL); + + return g_object_new (TPL_TYPE_ENTITY, + "identifier", identifier, NULL); +} + + /* _tpl_entity_from_room_id: * @chatroom_id: the chatroom id which will be the identifier for the entity * @@ -244,15 +254,6 @@ _tpl_entity_from_tp_contact (TpContact *contact) } -TplEntity * -_tpl_entity_new (const gchar *identifier) -{ - g_return_val_if_fail (!TPL_STR_EMPTY (identifier), NULL); - - return g_object_new (TPL_TYPE_ENTITY, - "identifier", identifier, NULL); -} - /** * tpl_entity_get_alias: * @self: a #TplEntity @@ -267,6 +268,7 @@ tpl_entity_get_alias (TplEntity *self) return self->priv->alias; } + /** * tpl_entity_get_identifier: * @self: a #TplEntity @@ -281,6 +283,7 @@ tpl_entity_get_identifier (TplEntity *self) return self->priv->identifier; } + /** * tpl_entity_get_entity_type: * @self: a #TplEntity |