diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-02-21 23:41:16 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-06-09 17:20:05 +0800 |
commit | 6f62cdace76e62b3ec32c3a83b99db1ef6636dfd (patch) | |
tree | fed23bb451aa7b5bdb27b00496521143400b270f /src/empathy-call-window.c | |
parent | 9f5331305a835383471406db7e66e0d9c1b97db3 (diff) | |
download | gsoc2013-empathy-6f62cdace76e62b3ec32c3a83b99db1ef6636dfd.tar gsoc2013-empathy-6f62cdace76e62b3ec32c3a83b99db1ef6636dfd.tar.gz gsoc2013-empathy-6f62cdace76e62b3ec32c3a83b99db1ef6636dfd.tar.bz2 gsoc2013-empathy-6f62cdace76e62b3ec32c3a83b99db1ef6636dfd.tar.lz gsoc2013-empathy-6f62cdace76e62b3ec32c3a83b99db1ef6636dfd.tar.xz gsoc2013-empathy-6f62cdace76e62b3ec32c3a83b99db1ef6636dfd.tar.zst gsoc2013-empathy-6f62cdace76e62b3ec32c3a83b99db1ef6636dfd.zip |
Don't use tpy_call_channel_is_sending_video
Check if we have initial video instead.
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r-- | src/empathy-call-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 510a47f66..01c7dd4e0 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -2453,8 +2453,8 @@ empathy_call_window_connected (gpointer user_data) if (priv->video_input == NULL) empathy_call_window_set_send_video (self, CAMERA_STATE_OFF); - priv->sending_video = can_send_video ? - tpy_call_channel_is_sending_video (call) : FALSE; + priv->sending_video = can_send_video && + empathy_call_handler_has_initial_video (priv->handler); gtk_toggle_tool_button_set_active ( GTK_TOGGLE_TOOL_BUTTON (priv->tool_button_camera_on), |