[empathy] add empathy_call_handler_get_contact()



commit f1ec59d5dadee9765977dbacee888f51e3b8a415
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Feb 23 14:33:08 2012 +0100

    add empathy_call_handler_get_contact()

 src/empathy-call-handler.c |    6 ++++++
 src/empathy-call-handler.h |    2 ++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-call-handler.c b/src/empathy-call-handler.c
index 3389c83..7fac799 100644
--- a/src/empathy-call-handler.c
+++ b/src/empathy-call-handler.c
@@ -1051,3 +1051,9 @@ empathy_call_handler_get_video_local_candidate (
 
   return priv->video_local_candidate;
 }
+
+EmpathyContact *
+empathy_call_handler_get_contact (EmpathyCallHandler *self)
+{
+  return self->priv->contact;
+}
diff --git a/src/empathy-call-handler.h b/src/empathy-call-handler.h
index d0f15ee..36c6cfd 100644
--- a/src/empathy-call-handler.h
+++ b/src/empathy-call-handler.h
@@ -104,6 +104,8 @@ FsCandidate * empathy_call_handler_get_video_remote_candidate (
 FsCandidate * empathy_call_handler_get_video_local_candidate (
     EmpathyCallHandler *self);
 
+EmpathyContact * empathy_call_handler_get_contact (EmpathyCallHandler *self);
+
 G_END_DECLS
 
 #endif /* #ifndef __EMPATHY_CALL_HANDLER_H__*/



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