[ekiga/ds-gtk-application] CallWindow: Auto destroy at the end of the call.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk-application] CallWindow: Auto destroy at the end of the call.
- Date: Sun, 2 Nov 2014 17:01:33 +0000 (UTC)
commit b608956710369e7045205a4f59b7553adc337340
Author: Damien Sandras <dsandras seconix com>
Date: Sun Nov 2 18:00:41 2014 +0100
CallWindow: Auto destroy at the end of the call.
lib/engine/gui/gtk-frontend/call-window.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/call-window.cpp b/lib/engine/gui/gtk-frontend/call-window.cpp
index 69e3bf8..e69d452 100644
--- a/lib/engine/gui/gtk-frontend/call-window.cpp
+++ b/lib/engine/gui/gtk-frontend/call-window.cpp
@@ -1189,8 +1189,10 @@ ekiga_call_window_update_calling_state (EkigaCallWindow *self,
/* Spinner updates */
gtk_widget_hide (self->priv->spinner);
gtk_spinner_stop (GTK_SPINNER (self->priv->spinner));
- break;
+ /* Auto destroy */
+ g_timeout_add_seconds (2, on_delayed_destroy_cb, self);
+ break;
case Calling:
/* Spinner updates */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]