banshee r5098 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Sources
- From: blorentz svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r5098 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Sources
- Date: Wed, 4 Mar 2009 20:58:52 +0000 (UTC)
Author: blorentz
Date: Wed Mar 4 20:58:52 2009
New Revision: 5098
URL: http://svn.gnome.org/viewvc/banshee?rev=5098&view=rev
Log:
2009-03-04 Bertrand Lorentz <bertrand lorentz gmail com>
* src/Core/Banshee.Services/Banshee.Sources/Source.cs: Fix a crash on
detection of a Daap server, related to the new source sorting stuff
(BGO #573686).
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/Source.cs
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/Source.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/Source.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/Source.cs Wed Mar 4 20:58:52 2009
@@ -261,7 +261,7 @@
sort_children = false;
}
- if (child_sort.SortType != SortType.None) {
+ if (child_sort != null && child_sort.SortType != SortType.None) {
lock (Children) {
child_sort.Sort (child_sources, SeparateChildrenByType);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]