Index: gtksettings.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtksettings.c,v
retrieving revision 1.85
diff -u -r1.85 gtksettings.c
--- gtksettings.c	16 Dec 2005 18:45:31 -0000	1.85
+++ gtksettings.c	18 Dec 2005 23:06:09 -0000
@@ -1749,6 +1749,9 @@
   data = (ColorSchemeData *)g_object_get_data (G_OBJECT (settings), 
 					       "gtk-color-scheme");
 
+  if (data == NULL)
+    return NULL;
+    
   return data->color_hash;
 }
 
