[ekiga] Call Window: Fixed delete event handling.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Call Window: Fixed delete event handling.
- Date: Sun, 11 Mar 2012 13:20:32 +0000 (UTC)
commit f7237a7a0f0ba6129ec3a10dd7cf28caa49cd475
Author: Damien Sandras <dsandras beip be>
Date: Sun Mar 11 14:19:29 2012 +0100
Call Window: Fixed delete event handling.
It was not relayed anymore in case we needed to ignore it so that it
could be handled by other parts using GmWindows.
lib/gui/gmwindow.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/lib/gui/gmwindow.c b/lib/gui/gmwindow.c
index c093f69..719d071 100644
--- a/lib/gui/gmwindow.c
+++ b/lib/gui/gmwindow.c
@@ -258,10 +258,12 @@ gm_window_delete_event_cb (GtkWidget *w,
self = GM_WINDOW (w);
- if (self->priv->hide_on_delete)
+ if (self->priv->hide_on_delete) {
gtk_widget_hide (w);
+ return TRUE;
+ }
- return TRUE;
+ return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]