aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-call-handler.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-06-15 17:47:06 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-06-15 17:47:06 +0800
commit909f3e3d892afc61e42143bf9182d6dec9f3ccb9 (patch)
tree0653659c3a13b832168fc2256b2756634617777d /libempathy/empathy-call-handler.c
parent3624ff9a9fc90161487431fd536cdc3fffb0bb57 (diff)
parente5989d0face9edde213e0530ba6c886d61a1276f (diff)
downloadgsoc2013-empathy-909f3e3d892afc61e42143bf9182d6dec9f3ccb9.tar
gsoc2013-empathy-909f3e3d892afc61e42143bf9182d6dec9f3ccb9.tar.gz
gsoc2013-empathy-909f3e3d892afc61e42143bf9182d6dec9f3ccb9.tar.bz2
gsoc2013-empathy-909f3e3d892afc61e42143bf9182d6dec9f3ccb9.tar.lz
gsoc2013-empathy-909f3e3d892afc61e42143bf9182d6dec9f3ccb9.tar.xz
gsoc2013-empathy-909f3e3d892afc61e42143bf9182d6dec9f3ccb9.tar.zst
gsoc2013-empathy-909f3e3d892afc61e42143bf9182d6dec9f3ccb9.zip
Merge commit 'jtellier/call-window-video-preview'
Diffstat (limited to 'libempathy/empathy-call-handler.c')
-rw-r--r--libempathy/empathy-call-handler.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/libempathy/empathy-call-handler.c b/libempathy/empathy-call-handler.c
index 90df179bc..bbc1f9a88 100644
--- a/libempathy/empathy-call-handler.c
+++ b/libempathy/empathy-call-handler.c
@@ -595,4 +595,21 @@ empathy_call_handler_stop_call (EmpathyCallHandler *handler)
}
priv->call = NULL;
+}
+
+/**
+ * empathy_call_handler_has_initial_video:
+ * @handler: an #EmpathyCallHandler
+ *
+ * Return %TRUE if the call managed by this #EmpathyCallHandler was
+ * created with video enabled
+ *
+ * Return value: %TRUE if the call was created as a video conversation.
+ */
+gboolean
+empathy_call_handler_has_initial_video (EmpathyCallHandler *handler)
+{
+ EmpathyCallHandlerPriv *priv = GET_PRIV (handler);
+
+ return priv->initial_video;
} \ No newline at end of file