[banshee] Avoid NRE in ColumnCellStatusIndicator
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Subject: [banshee] Avoid NRE in ColumnCellStatusIndicator
- Date: Sun, 5 Jul 2009 15:41:19 +0000 (UTC)
commit 9270fc663ff9e0bbf70248cc4f90dd2e750fc2ff
Author: Gabriel Burt <gabriel burt gmail com>
Date: Sun Jul 5 10:36:42 2009 -0500
Avoid NRE in ColumnCellStatusIndicator
.../ColumnCellStatusIndicator.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellStatusIndicator.cs b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellStatusIndicator.cs
index c9c763d..06d82d9 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellStatusIndicator.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellStatusIndicator.cs
@@ -131,7 +131,7 @@ namespace Banshee.Collection.Gui
icon_index = GetIconIndex (track);
}
- if (icon_index < 0) {
+ if (icon_index < 0 || pixbufs == null || pixbufs[icon_index] == null) {
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]