[banshee/gtk3] DiscUsageDisplay: Rename Draw method to avoid clashing with Widget.Draw



commit b368c7cf952b8aa40ca8d565cf25b01e41e1c99c
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Thu Jul 21 20:41:20 2011 +0200

    DiscUsageDisplay: Rename Draw method to avoid clashing with Widget.Draw

 .../Banshee.Widgets/DiscUsageDisplay.cs            |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Core/Banshee.Widgets/Banshee.Widgets/DiscUsageDisplay.cs b/src/Core/Banshee.Widgets/Banshee.Widgets/DiscUsageDisplay.cs
index 932ae5f..7ad5a37 100644
--- a/src/Core/Banshee.Widgets/Banshee.Widgets/DiscUsageDisplay.cs
+++ b/src/Core/Banshee.Widgets/Banshee.Widgets/DiscUsageDisplay.cs
@@ -117,13 +117,13 @@ namespace Banshee.Widgets
             CairoHelper.TransformToWindow (cr, this, Window);
 
             cr.Rectangle (Allocation.X, Allocation.Y, Allocation.Width, Allocation.Height);
-            cr.Clip();
-            Draw(cr);
+            cr.Clip ();
+            DrawWidget (cr);
 
             return false;
         }
 
-        private void Draw(Cairo.Context cr)
+        private void DrawWidget (Cairo.Context cr)
         {
             cr.Antialias = Antialias.Subpixel;
             cr.LineWidth = base_line_width / 1.5;



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