[ekiga] Hide call window when pressing call window icon in main window
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Hide call window when pressing call window icon in main window
- Date: Fri, 23 Jan 2015 11:40:10 +0000 (UTC)
commit ed8587d197051aa52c15b73d0e53238c3d078645
Author: Eugen Dedu <eugen dedu univ-fcomte fr>
Date: Fri Jan 23 12:39:08 2015 +0100
Hide call window when pressing call window icon in main window
lib/engine/gui/gtk-frontend/ekiga-app.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/ekiga-app.cpp b/lib/engine/gui/gtk-frontend/ekiga-app.cpp
index d3e594e..7a7cf0d 100644
--- a/lib/engine/gui/gtk-frontend/ekiga-app.cpp
+++ b/lib/engine/gui/gtk-frontend/ekiga-app.cpp
@@ -380,8 +380,11 @@ video_preview_changed (GSettings *settings,
gm_application_show_call_window (self);
video_input_core->start_preview ();
}
- else
+ else {
video_input_core->stop_preview ();
+ g_return_if_fail (self->priv->call_window);
+ gtk_window_close (GTK_WINDOW (self->priv->call_window));
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]