[hyena/gtk3] Hyena.Gui: Remove obsolete Gdk.Window.Destroy workaround
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hyena/gtk3] Hyena.Gui: Remove obsolete Gdk.Window.Destroy workaround
- Date: Sat, 30 Jul 2011 14:52:29 +0000 (UTC)
commit 5e72d9c36a81845d19ba9b4f2b99bc4dbcdce876
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Sat Jul 30 16:51:05 2011 +0200
Hyena.Gui: Remove obsolete Gdk.Window.Destroy workaround
.../Hyena.Data.Gui/ListView/ListView_Windowing.cs | 2 +-
Hyena.Gui/Hyena.Gui.Canvas/CanvasHost.cs | 2 +-
Hyena.Gui/Hyena.Gui.csproj | 1 -
Hyena.Gui/Hyena.Gui/GtkWorkarounds.cs | 92 --------------------
Hyena.Gui/Hyena.Widgets/RatingEntry.cs | 2 +-
Hyena.Gui/Makefile.am | 1 -
6 files changed, 3 insertions(+), 97 deletions(-)
---
diff --git a/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs b/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs
index ef7bd4d..594055b 100644
--- a/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs
+++ b/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs
@@ -92,7 +92,7 @@ namespace Hyena.Data.Gui
IsRealized = false;
event_window.UserData = IntPtr.Zero;
- Hyena.Gui.GtkWorkarounds.WindowDestroy (event_window);
+ event_window.Destroy ();
event_window = null;
base.OnUnrealized ();
diff --git a/Hyena.Gui/Hyena.Gui.Canvas/CanvasHost.cs b/Hyena.Gui/Hyena.Gui.Canvas/CanvasHost.cs
index ac564f6..2b7af7f 100644
--- a/Hyena.Gui/Hyena.Gui.Canvas/CanvasHost.cs
+++ b/Hyena.Gui/Hyena.Gui.Canvas/CanvasHost.cs
@@ -86,7 +86,7 @@ namespace Hyena.Gui.Canvas
IsRealized = false;
event_window.UserData = IntPtr.Zero;
- Hyena.Gui.GtkWorkarounds.WindowDestroy (event_window);
+ event_window.Destroy ();
event_window = null;
base.OnUnrealized ();
diff --git a/Hyena.Gui/Hyena.Gui.csproj b/Hyena.Gui/Hyena.Gui.csproj
index 43c60e7..0507571 100644
--- a/Hyena.Gui/Hyena.Gui.csproj
+++ b/Hyena.Gui/Hyena.Gui.csproj
@@ -164,7 +164,6 @@
<Compile Include="Hyena.Widgets\ComplexMenuItem.cs" />
<Compile Include="Hyena.Gui\RatingRenderer.cs" />
<Compile Include="Hyena.Data.Gui\ListView\ListViewBase.cs" />
- <Compile Include="Hyena.Gui\GtkWorkarounds.cs" />
<Compile Include="Hyena.Gui\Contrast.cs" />
<Compile Include="Hyena.Widgets\ImageButton.cs" />
<Compile Include="Hyena.Data.Gui\ITextCell.cs" />
diff --git a/Hyena.Gui/Hyena.Widgets/RatingEntry.cs b/Hyena.Gui/Hyena.Widgets/RatingEntry.cs
index f6fd075..41ed71e 100644
--- a/Hyena.Gui/Hyena.Widgets/RatingEntry.cs
+++ b/Hyena.Gui/Hyena.Widgets/RatingEntry.cs
@@ -189,7 +189,7 @@ namespace Hyena.Widgets
IsRealized = false;
event_window.UserData = IntPtr.Zero;
- Hyena.Gui.GtkWorkarounds.WindowDestroy (event_window);
+ event_window.Destroy ();
event_window = null;
base.OnUnrealized ();
diff --git a/Hyena.Gui/Makefile.am b/Hyena.Gui/Makefile.am
index 175f279..6f6989f 100644
--- a/Hyena.Gui/Makefile.am
+++ b/Hyena.Gui/Makefile.am
@@ -92,7 +92,6 @@ SOURCES = \
Hyena.Gui/EditableInsertAction.cs \
Hyena.Gui/EditableUndoAdapter.cs \
Hyena.Gui/GtkUtilities.cs \
- Hyena.Gui/GtkWorkarounds.cs \
Hyena.Gui/HyenaActionGroup.cs \
Hyena.Gui/PangoCairoHelper.cs \
Hyena.Gui/PangoExtensions.cs \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]