[empathy] call-window: remove the errors info bar when redialing (#630276)



commit fa600a4ea18f2c5e7163698fb44adccd9bc230b2
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Sep 22 11:29:53 2010 +0200

    call-window: remove the errors info bar when redialing (#630276)

 src/empathy-call-window.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 81c7d54..685f0d2 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -3118,6 +3118,10 @@ empathy_call_window_restart_call (EmpathyCallWindow *window)
 {
   EmpathyCallWindowPriv *priv = GET_PRIV (window);
 
+  /* Remove error info bars */
+  gtk_container_forall (GTK_CONTAINER (priv->errors_vbox),
+      (GtkCallback) gtk_widget_destroy, NULL);
+
   create_video_output_widget (window);
 
   g_signal_connect (G_OBJECT (priv->audio_input_adj), "value-changed",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]