aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2011-07-07 06:14:57 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-11-08 04:07:19 +0800
commitd341cb5a4ce8555233e879febe765b1d8d6accd8 (patch)
tree7aaba327cc3f675d9f7b704cf47cc1100e31405d /src
parent8d228611ffed55ab8b4c561a1789296259a342fc (diff)
downloadgsoc2013-empathy-d341cb5a4ce8555233e879febe765b1d8d6accd8.tar
gsoc2013-empathy-d341cb5a4ce8555233e879febe765b1d8d6accd8.tar.gz
gsoc2013-empathy-d341cb5a4ce8555233e879febe765b1d8d6accd8.tar.bz2
gsoc2013-empathy-d341cb5a4ce8555233e879febe765b1d8d6accd8.tar.lz
gsoc2013-empathy-d341cb5a4ce8555233e879febe765b1d8d6accd8.tar.xz
gsoc2013-empathy-d341cb5a4ce8555233e879febe765b1d8d6accd8.tar.zst
gsoc2013-empathy-d341cb5a4ce8555233e879febe765b1d8d6accd8.zip
Let set_send_video do it's job
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 5603ddf6e..92e0c4399 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1344,10 +1344,7 @@ disable_camera (EmpathyCallWindow *self)
DEBUG ("Disable camera");
- display_video_preview (self, FALSE);
-
- if (priv->camera_state == CAMERA_STATE_ON)
- empathy_call_window_set_send_video (self, CAMERA_STATE_OFF);
+ empathy_call_window_set_send_video (self, CAMERA_STATE_OFF);
priv->camera_state = CAMERA_STATE_OFF;
}