diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-07-14 16:59:23 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-07-15 12:30:45 +0100 |
commit | 13bf0e510b90984faadcdf0e970665834238fe50 (patch) | |
tree | a8161c864a8b4ee062d20830fb128c9af7df84f3 /telepathy-glib/base-protocol.c | |
parent | 2d179a09f1b0a0a6f975d3e6770d39a4760fa1d9 (diff) | |
download | telepathy-glib-13bf0e510b90984faadcdf0e970665834238fe50.tar.gz |
tp_base_protocol_get_name: add "C binding" for TpBaseProtocol:name
Diffstat (limited to 'telepathy-glib/base-protocol.c')
-rw-r--r-- | telepathy-glib/base-protocol.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/telepathy-glib/base-protocol.c b/telepathy-glib/base-protocol.c index e6ee02505..93c6ec19a 100644 --- a/telepathy-glib/base-protocol.c +++ b/telepathy-glib/base-protocol.c @@ -366,6 +366,22 @@ tp_base_protocol_constructed (GObject *object) } /** + * tp_base_protocol_get_name: (skip) + * @self: a Protocol + * + * <!-- --> + * + * Returns: (transfer none): the value of #TpBaseProtocol:name + */ +const gchar * +tp_base_protocol_get_name (TpBaseProtocol *self) +{ + g_return_val_if_fail (TP_IS_BASE_PROTOCOL (self), NULL); + + return self->priv->name; +} + +/** * tp_base_protocol_get_immutable_properties: * @self: a Protocol * |