]> git.0d.be Git - empathy.git/commitdiff
Let set_send_video do it's job
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 6 Jul 2011 22:14:57 +0000 (18:14 -0400)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 7 Nov 2011 20:07:19 +0000 (20:07 +0000)
src/empathy-call-window.c

index 5603ddf6e1cf9178eaf99c301b09bd6e534c0efb..92e0c4399ef46b8f2c7702e07ef402cc3815414f 100644 (file)
@@ -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;
 }