[ekiga/v4_0] Ekiga: Got back to a mode where we hide the window on exit.
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/v4_0] Ekiga: Got back to a mode where we hide the window on exit.
- Date: Mon, 18 Feb 2013 21:25:06 +0000 (UTC)
commit c8bb7a6c2c63110a2674b207a8fcd821ef1ab43e
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 f28421a..30ed6cd 100644
--- a/src/ekiga.cpp
+++ b/src/ekiga.cpp
@@ -64,13 +64,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]