[hyena/gtk3] RatingEntry: Fix coordinates in OnDrawn



commit 3fe9a00b964baff14df4501ddf2544bc83efbc9c
Author: Olivier Dufour <olivier duff gmail com>
Date:   Wed Jul 27 19:43:43 2011 +0200

    RatingEntry: Fix coordinates in OnDrawn

 Hyena.Gui/Hyena.Widgets/RatingEntry.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/Hyena.Gui/Hyena.Widgets/RatingEntry.cs b/Hyena.Gui/Hyena.Widgets/RatingEntry.cs
index fb0c963..f6fd075 100644
--- a/Hyena.Gui/Hyena.Widgets/RatingEntry.cs
+++ b/Hyena.Gui/Hyena.Widgets/RatingEntry.cs
@@ -279,8 +279,7 @@ namespace Hyena.Widgets
                 StyleContext.Restore ();
             }
 
-            CairoHelper.TransformToWindow (cr, this, Window);
-            renderer.Render (cr, Allocation,
+            renderer.Render (cr, new Gdk.Rectangle (0, 0, Allocation.Width, Allocation.Height),
                 CairoExtensions.GdkRGBAToCairoColor ( Parent.StyleContext.GetColor (StateFlags)),
                 AlwaysShowEmptyStars, PreviewOnHover && hover_value >= renderer.MinRating, hover_value,
                 State == StateType.Insensitive ? 1 : 0.90,



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