aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-call-window.c')
-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);