changeset 1817:0734a9808884 trunk

[svn] - make sure the PlaylistEntry has a tuple.
author nenolod
date Thu, 05 Oct 2006 01:31:41 -0700
parents 3b6901e8e63f
children e3e31a084b09
files ChangeLog audacious/playlist.c
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Oct 04 23:45:55 2006 -0700
+++ b/ChangeLog	Thu Oct 05 01:31:41 2006 -0700
@@ -1,3 +1,11 @@
+2006-10-05 06:45:55 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2589]
+  - missed a couple of properties, sorry
+  
+  trunk/audacious/widgets/skin.c |   12 ++++++++++++
+  1 file changed, 12 insertions(+)
+
+
 2006-10-05 06:36:28 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2587]
   - fix another typo
--- a/audacious/playlist.c	Wed Oct 04 23:45:55 2006 -0700
+++ b/audacious/playlist.c	Thu Oct 05 01:31:41 2006 -0700
@@ -2626,7 +2626,8 @@
         entry->length = -1;
 
 	/* invalidate mtime to reread */
-	entry->tuple->mtime = 0;
+	if (entry->tuple != NULL)
+	    entry->tuple->mtime = 0;
 
         if (!playlist_entry_get_info(entry)) {
             if (g_list_index(playlist_get(), entry) == -1)