[ekiga] Ekiga: Got back to a mode where we hide the window on exit.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Ekiga: Got back to a mode where we hide the window on exit.
- Date: Sun, 10 Feb 2013 17:20:42 +0000 (UTC)
commit 7bb731a675a9b8501cc0e097850f7837a470f2c0
Author: Damien Sandras <dsandras beip be>
Date: Sat Feb 9 17:02:37 2013 +0100
Ekiga: Got back to a mode where we hide the window on exit.
Having the main window stuck like this looks really weird.
src/ekiga.cpp | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/src/ekiga.cpp b/src/ekiga.cpp
index a457590..00bd8d5 100644
--- a/src/ekiga.cpp
+++ b/src/ekiga.cpp
@@ -66,13 +66,20 @@ GnomeMeeting::GnomeMeeting ()
void
GnomeMeeting::Exit ()
{
- if (main_window)
+ if (main_window) {
+ gtk_widget_hide (main_window);
gtk_widget_destroy (main_window);
+ }
main_window = NULL;
- if (assistant_window)
+ if (assistant_window) {
+ gtk_widget_hide (assistant_window);
gtk_widget_destroy (assistant_window);
+ }
assistant_window = NULL;
+
+ while (gtk_events_pending ())
+ gtk_main_iteration ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]