[banshee] [BaseClientWindow] don't call base.OnDeleteEvent
- From: Aaron Bockover <abock src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [BaseClientWindow] don't call base.OnDeleteEvent
- Date: Wed, 17 Feb 2010 01:41:59 +0000 (UTC)
commit cb16ec86c7d078e3afac936b92003d9a9cee8263
Author: Aaron Bockover <abockover novell com>
Date: Tue Feb 16 20:45:25 2010 -0500
[BaseClientWindow] don't call base.OnDeleteEvent
We handle the event entirely, and queue the full application shutdown
there. In the case that we do shut down, we're not actually guaranteed
to have a valid GObject into which we can call the base delete event.
.../Banshee.Gui/BaseClientWindow.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/BaseClientWindow.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/BaseClientWindow.cs
index b848be0..8b62835 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/BaseClientWindow.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/BaseClientWindow.cs
@@ -164,7 +164,7 @@ namespace Banshee.Gui
}
Banshee.ServiceStack.Application.Shutdown ();
- return base.OnDeleteEvent (evnt);
+ return true;
}
protected override bool OnWindowStateEvent (Gdk.EventWindowState evnt)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]