aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-03-14 20:14:32 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-03-14 20:14:32 +0800
commita340eeee18728a1fc59ddcb641b49537d03dd60a (patch)
treed9ca275ef0f411f8fe90498865a9d9d6adce837a
parentb159d5e210b2ffd38d6c0d59f5758e58e7054969 (diff)
downloadgsoc2013-empathy-a340eeee18728a1fc59ddcb641b49537d03dd60a.tar
gsoc2013-empathy-a340eeee18728a1fc59ddcb641b49537d03dd60a.tar.gz
gsoc2013-empathy-a340eeee18728a1fc59ddcb641b49537d03dd60a.tar.bz2
gsoc2013-empathy-a340eeee18728a1fc59ddcb641b49537d03dd60a.tar.lz
gsoc2013-empathy-a340eeee18728a1fc59ddcb641b49537d03dd60a.tar.xz
gsoc2013-empathy-a340eeee18728a1fc59ddcb641b49537d03dd60a.tar.zst
gsoc2013-empathy-a340eeee18728a1fc59ddcb641b49537d03dd60a.zip
Only distroy the video output if it exists
-rw-r--r--src/empathy-call-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 108befa90..6db01d2ef 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1872,7 +1872,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);