[empathy/gnome-2-34: 6/7] Only distroy the video output if it exists
- From: Sjoerd Simons <sjoerds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-34: 6/7] Only distroy the video output if it exists
- Date: Mon, 14 Mar 2011 12:58:44 +0000 (UTC)
commit a340eeee18728a1fc59ddcb641b49537d03dd60a
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 108befa..6db01d2 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]