banshee r3024 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui.Widgets



Author: abock
Date: Fri Jan 25 16:40:09 2008
New Revision: 3024
URL: http://svn.gnome.org/viewvc/banshee?rev=3024&view=rev

Log:
2008-01-25  Aaron Bockover  <abock gnome org>

    * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs:
    Patch from Alex Hixon to fix the segfault that would sometimes occur
    when changing tracks; happened when playing a track without cover art,
    then a track with cover art, then a track without



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs	Fri Jan 25 16:40:09 2008
@@ -421,7 +421,7 @@
                         transition_frames / ((double)FADE_TIMEOUT / 1000.0));
                 }
                 
-                if (current_pixbuf != incoming_pixbuf) {
+                if (current_pixbuf != incoming_pixbuf && current_pixbuf != missing_pixbuf) {
                     ArtworkRenderer.DisposePixbuf (current_pixbuf);
                 }
                 



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