[banshee/gtk3] SourceView: Avoid obsoletion warning when accessing Vadjustment property



commit e7e8ec2d0eb358b162b664c778a43f5f49603a4c
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Thu Jul 21 22:58:55 2011 +0200

    SourceView: Avoid obsoletion warning when accessing Vadjustment property

 .../Banshee.Sources.Gui/SourceView_DragAndDrop.cs  |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs
index 82eb91e..b6cd995 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs
@@ -91,9 +91,9 @@ namespace Banshee.Sources.Gui
 
             // Scroll if within 20 pixels of the top or bottom
             if (y < 20)
-                Vadjustment.Value -= 30;
+                ((Scrollable)this).Vadjustment.Value -= 30;
             else if ((Allocation.Height - y) < 20)
-                Vadjustment.Value += 30;
+                ((Scrollable)this).Vadjustment.Value += 30;
 
             ShowNewPlaylistUnder (parent_source, active_source);
 



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