diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2011-03-14 20:14:32 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-06-09 17:20:07 +0800 |
commit | 11c8e825a7e2a11ae46b567ca3ddf709c0a0e6c8 (patch) | |
tree | 98021e6d12f3bf4ba55d1d1d409df76657f80722 /src | |
parent | a1e3e5d9510ede8853fd74ff53ac3ecb7f1c141f (diff) | |
download | gsoc2013-empathy-11c8e825a7e2a11ae46b567ca3ddf709c0a0e6c8.tar gsoc2013-empathy-11c8e825a7e2a11ae46b567ca3ddf709c0a0e6c8.tar.gz gsoc2013-empathy-11c8e825a7e2a11ae46b567ca3ddf709c0a0e6c8.tar.bz2 gsoc2013-empathy-11c8e825a7e2a11ae46b567ca3ddf709c0a0e6c8.tar.lz gsoc2013-empathy-11c8e825a7e2a11ae46b567ca3ddf709c0a0e6c8.tar.xz gsoc2013-empathy-11c8e825a7e2a11ae46b567ca3ddf709c0a0e6c8.tar.zst gsoc2013-empathy-11c8e825a7e2a11ae46b567ca3ddf709c0a0e6c8.zip |
Only distroy the video output if it exists
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-call-window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 9ed66d4b4..aa8bd5dcd 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1877,7 +1877,8 @@ empathy_call_window_disconnected (EmpathyCallWindow *self, /* destroy the video output; it will be recreated when we'll redial */ disconnect_video_output_motion_handler (self); - gtk_widget_destroy (priv->video_output); + if (priv->video_output != NULL) + gtk_widget_destroy (priv->video_output); priv->video_output = NULL; gtk_widget_show (priv->remote_user_avatar_widget); |