[hyena/gtk3] Slider: add a Destroy() call for a LinearGradient obj, in ClippedRender()



commit 1c76abe8666e924bd33ba4f62662dbf2f8881319
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Sat Aug 24 13:31:34 2013 +0200

    Slider: add a Destroy() call for a LinearGradient obj, in ClippedRender()

 Hyena.Gui/Hyena.Gui.Canvas/Slider.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/Hyena.Gui/Hyena.Gui.Canvas/Slider.cs b/Hyena.Gui/Hyena.Gui.Canvas/Slider.cs
index c9699e4..29c7de8 100644
--- a/Hyena.Gui/Hyena.Gui.Canvas/Slider.cs
+++ b/Hyena.Gui/Hyena.Gui.Canvas/Slider.cs
@@ -177,6 +177,7 @@ namespace Hyena.Gui.Canvas
             cr.Color = fill_color;
             cr.Arc (throbber_x, throbber_y, throbber_r, 0, Math.PI * 2);
             cr.Fill ();
+            fill.Destroy ();
         }
 
         public override Size Measure (Size available)


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