From 11c8e825a7e2a11ae46b567ca3ddf709c0a0e6c8 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Mon, 14 Mar 2011 12:14:32 +0000 Subject: Only distroy the video output if it exists --- src/empathy-call-window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3