[empathy] add empathy_tp_call_get_status



commit 78a90f6800c2403452712d0a85d0c89a5cc165ea
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue May 18 16:40:27 2010 +0200

    add empathy_tp_call_get_status

 libempathy/empathy-tp-call.c |    8 ++++++++
 libempathy/empathy-tp-call.h |    2 ++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c
index 78ee6d0..3aae89f 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 ed3ae0d..ff51055 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__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]