changeset 1757:a406c1e2da12 trunk

[svn] Revert botched workaround, the actual 3 NULL writes will have to be addressed.
author chainsaw
date Sat, 23 Sep 2006 13:53:46 -0700
parents dd78822cd1d8
children 6b9e1c2b2b32
files ChangeLog libaudacious/configdb_gconf.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Sep 23 13:50:17 2006 -0700
+++ b/ChangeLog	Sat Sep 23 13:53:46 2006 -0700
@@ -1,3 +1,10 @@
+2006-09-23 20:50:17 +0000  Tony Vroon <chainsaw@gentoo.org>
+  revision [2449]
+  Do not try write NULL into a gconf key, convert it to "" first.
+  trunk/libaudacious/configdb_gconf.c |    2 ++
+  1 file changed, 2 insertions(+)
+
+
 2006-09-22 10:12:02 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2447]
   - version bump to 1.2.0-rc2
--- a/libaudacious/configdb_gconf.c	Sat Sep 23 13:50:17 2006 -0700
+++ b/libaudacious/configdb_gconf.c	Sat Sep 23 13:53:46 2006 -0700
@@ -194,8 +194,6 @@
 {
     GConfValue *cval;
 
-    if (value == NULL)
-	value = "";
     cval = gconf_value_new(GCONF_VALUE_STRING);
     gconf_value_set_string(cval, value);
     bmp_cfg_db_set_value(db, section, key, cval);