[banshee/gtk3] Migrate ClassicTrackInfoDisplay to use WindowWindowClass and IsRealized for gtk3 compliancy
- From: Olivier Dufour <dufoli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gtk3] Migrate ClassicTrackInfoDisplay to use WindowWindowClass and IsRealized for gtk3 compliancy
- Date: Sun, 17 Jul 2011 11:05:40 +0000 (UTC)
commit 6d0b54af19aae6d3f314e9a4ee6ab16f0a7f018a
Author: Olivier Dufour <olivier duff gmail com>
Date: Sun Jul 17 12:01:15 2011 +0200
Migrate ClassicTrackInfoDisplay to use WindowWindowClass and IsRealized for gtk3 compliancy
.../Banshee.Gui.Widgets/ClassicTrackInfoDisplay.cs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ClassicTrackInfoDisplay.cs b/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ClassicTrackInfoDisplay.cs
index 7fdc97f..439c5bc 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ClassicTrackInfoDisplay.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ClassicTrackInfoDisplay.cs
@@ -89,7 +89,7 @@ namespace Banshee.Gui.Widgets
attributes.Y = Allocation.Y;
attributes.Width = Allocation.Width;
attributes.Height = Allocation.Height;
- attributes.Wclass = WindowClass.InputOnly;
+ attributes.Wclass = WindowWindowClass.InputOnly;
attributes.EventMask = (int)(
EventMask.PointerMotionMask |
EventMask.EnterNotifyMask |
@@ -105,8 +105,7 @@ namespace Banshee.Gui.Widgets
protected override void OnUnrealized ()
{
- WidgetFlags ^= WidgetFlags.Realized;
-
+ IsRealized = false;
event_window.UserData = IntPtr.Zero;
Hyena.Gui.GtkWorkarounds.WindowDestroy (event_window);
event_window = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]