aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-10 19:10:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-28 00:33:42 +0800
commita8f35052d171a1dff4be5eae80f4532ae735da7b (patch)
tree808caf5763092d33279e755d03e8d5021eacebb7 /src
parent4db67c186241cca03b2f4002ac592b4d86601eb8 (diff)
downloadgsoc2013-empathy-a8f35052d171a1dff4be5eae80f4532ae735da7b.tar
gsoc2013-empathy-a8f35052d171a1dff4be5eae80f4532ae735da7b.tar.gz
gsoc2013-empathy-a8f35052d171a1dff4be5eae80f4532ae735da7b.tar.bz2
gsoc2013-empathy-a8f35052d171a1dff4be5eae80f4532ae735da7b.tar.lz
gsoc2013-empathy-a8f35052d171a1dff4be5eae80f4532ae735da7b.tar.xz
gsoc2013-empathy-a8f35052d171a1dff4be5eae80f4532ae735da7b.tar.zst
gsoc2013-empathy-a8f35052d171a1dff4be5eae80f4532ae735da7b.zip
disable video preview when we turn off video sending
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index ce05a4923..0d03dd887 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2154,10 +2154,7 @@ empathy_call_window_set_send_video (EmpathyCallWindow *window,
/* When we start sending video, we want to show the video preview by
default. */
- if (send)
- {
- display_video_preview (window, TRUE);
- }
+ display_video_preview (window, send);
g_object_get (priv->handler, "tp-call", &call, NULL);
empathy_tp_call_request_video_stream_direction (call, send);