[empathy: 57/99] Only distroy the video output if it exists
- From: Emilio Pozuelo Monfort <epm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 57/99] Only distroy the video output if it exists
- Date: Thu, 9 Jun 2011 09:54:08 +0000 (UTC)
commit 11c8e825a7e2a11ae46b567ca3ddf709c0a0e6c8
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Mon Mar 14 12:14:32 2011 +0000
Only distroy the video output if it exists
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 9ed66d4..aa8bd5d 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]