[hyena] Dispose copied FontDescriptions



commit 4811f8dba2a7410bb6079256d5efda82caa2075e
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Fri Feb 12 22:19:37 2010 +1100

    Dispose copied FontDescriptions

 .../Hyena.Data.Gui/ListView/ListView_Rendering.cs  |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs b/src/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
index a8b808a..09ca433 100644
--- a/src/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
+++ b/src/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
@@ -79,6 +79,7 @@ namespace Hyena.Data.Gui
             Gdk.Drawable drawable = cell_context != null ? cell_context.Drawable : null;
 
             if (pango_layout != null) {
+                pango_layout.FontDescription.Dispose ();
                 pango_layout.Dispose ();
                 pango_layout = null;
             }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]