aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-18 22:40:27 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-07 17:50:48 +0800
commit78a90f6800c2403452712d0a85d0c89a5cc165ea (patch)
treec9ff6e4dc4d321dfb84f17bd3b0a04c3ca4758ce /libempathy
parentf57e122a8c74452214cfcfcab1cfaa669d8c9e9e (diff)
downloadgsoc2013-empathy-78a90f6800c2403452712d0a85d0c89a5cc165ea.tar
gsoc2013-empathy-78a90f6800c2403452712d0a85d0c89a5cc165ea.tar.gz
gsoc2013-empathy-78a90f6800c2403452712d0a85d0c89a5cc165ea.tar.bz2
gsoc2013-empathy-78a90f6800c2403452712d0a85d0c89a5cc165ea.tar.lz
gsoc2013-empathy-78a90f6800c2403452712d0a85d0c89a5cc165ea.tar.xz
gsoc2013-empathy-78a90f6800c2403452712d0a85d0c89a5cc165ea.tar.zst
gsoc2013-empathy-78a90f6800c2403452712d0a85d0c89a5cc165ea.zip
add empathy_tp_call_get_status
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-call.c8
-rw-r--r--libempathy/empathy-tp-call.h2
2 files changed, 10 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c
index 78ee6d005..3aae89fce 100644
--- a/libempathy/empathy-tp-call.c
+++ b/libempathy/empathy-tp-call.c
@@ -854,3 +854,11 @@ empathy_tp_call_leave (EmpathyTpCall *self)
tp_cli_channel_interface_group_call_remove_members (priv->channel, -1, &array,
"", leave_remove_members_cb, self, NULL, G_OBJECT (self));
}
+
+EmpathyTpCallStatus
+empathy_tp_call_get_status (EmpathyTpCall *self)
+{
+ EmpathyTpCallPriv *priv = GET_PRIV (self);
+
+ return priv->status;
+}
diff --git a/libempathy/empathy-tp-call.h b/libempathy/empathy-tp-call.h
index ed3ae0d9f..ff51055e7 100644
--- a/libempathy/empathy-tp-call.h
+++ b/libempathy/empathy-tp-call.h
@@ -94,6 +94,8 @@ gboolean empathy_tp_call_has_initial_video (EmpathyTpCall *self);
void empathy_tp_call_leave (EmpathyTpCall *self);
+EmpathyTpCallStatus empathy_tp_call_get_status (EmpathyTpCall *self);
+
G_END_DECLS
#endif /* __EMPATHY_TP_CALL_H__ */