From 78a90f6800c2403452712d0a85d0c89a5cc165ea Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 18 May 2010 16:40:27 +0200 Subject: add empathy_tp_call_get_status --- libempathy/empathy-tp-call.c | 8 ++++++++ libempathy/empathy-tp-call.h | 2 ++ 2 files changed, 10 insertions(+) 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__ */ -- cgit v1.2.1