[banshee/gtk3] [widget] Fix Tile widget for gtk3



commit b8217c62ead642e1b6d190941bcbc3918b93ea24
Author: Olivier Dufour <olivier duff gmail com>
Date:   Sun Jul 3 17:47:50 2011 +0200

    [widget] Fix Tile widget for gtk3

 src/Core/Banshee.Widgets/Banshee.Widgets/Tile.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.Widgets/Banshee.Widgets/Tile.cs b/src/Core/Banshee.Widgets/Banshee.Widgets/Tile.cs
index 76ab916..3bbf6b5 100644
--- a/src/Core/Banshee.Widgets/Banshee.Widgets/Tile.cs
+++ b/src/Core/Banshee.Widgets/Banshee.Widgets/Tile.cs
@@ -76,8 +76,7 @@ namespace Banshee.Widgets
 
             StyleSet += delegate {
                 PrimaryLabel.ModifyFg (StateType.Normal, Style.Text (StateType.Normal));
-                Gdk.RGBA rgba;
-                StyleContext.GetColor (StateFlags.Normal, rgba);
+                Gdk.RGBA rgba = StyleContext.GetColor (StateFlags.Normal);
                 SecondaryLabel.OverrideColor (StateFlags.Normal, Hyena.Gui.GtkUtilities.ColorBlend (
                     rgba, StyleContext.GetBackgroundColor (StateFlags.Normal)));
             };



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