changeset 1756:dd78822cd1d8 trunk

[svn] Do not try write NULL into a gconf key, convert it to "" first.
author chainsaw
date Sat, 23 Sep 2006 13:50:17 -0700
parents 3434eb44b304
children a406c1e2da12
files ChangeLog libaudacious/configdb_gconf.c
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Sep 22 03:12:02 2006 -0700
+++ b/ChangeLog	Sat Sep 23 13:50:17 2006 -0700
@@ -1,3 +1,14 @@
+2006-09-22 10:12:02 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2447]
+  - version bump to 1.2.0-rc2
+  - use audacious/titlestring.h instead of libaudacious/titlestring.h
+  
+  trunk/audacious/input.c       |    2 +-
+  trunk/audacious/ui_fileinfo.c |    3 ++-
+  trunk/configure.ac            |    2 +-
+  3 files changed, 4 insertions(+), 3 deletions(-)
+
+
 2006-09-22 09:57:25 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2445]
   - use proper X11 hinting here to ensure that the about window isn't decorated on broken WMs (e.g. quartz-wm)
--- a/libaudacious/configdb_gconf.c	Fri Sep 22 03:12:02 2006 -0700
+++ b/libaudacious/configdb_gconf.c	Sat Sep 23 13:50:17 2006 -0700
@@ -194,6 +194,8 @@
 {
     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);