changeset 1760:47dcc46bb091 trunk

[svn] - fix for "playlist.c:1482: Mutex not locked!"
author yaz
date Thu, 28 Sep 2006 08:36:43 -0700
parents c525c2b6a3d8
children 70caa62ead63
files ChangeLog audacious/playlist.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Sep 24 12:08:30 2006 -0700
+++ b/ChangeLog	Thu Sep 28 08:36:43 2006 -0700
@@ -1,3 +1,10 @@
+2006-09-24 19:08:30 +0000  Tony Vroon <chainsaw@gentoo.org>
+  revision [2455]
+  Interpret set_string for a NULL value as a key unset action, as gconf will not store NULL values.
+  trunk/libaudacious/configdb_gconf.c |   12 ++++++++----
+  1 file changed, 8 insertions(+), 4 deletions(-)
+
+
 2006-09-24 07:40:12 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [2453]
   - fix for gconf_value_get_string() does not accept null string.
--- a/audacious/playlist.c	Sun Sep 24 12:08:30 2006 -0700
+++ b/audacious/playlist.c	Thu Sep 28 08:36:43 2006 -0700
@@ -1320,7 +1320,9 @@
     if (plc->plc_write == NULL)
         return FALSE;
 
+    PLAYLIST_LOCK();
     plc->plc_write(filename, 0);
+    PLAYLIST_UNLOCK();
 
     return TRUE;
 }