--- control-center-2.8.2/capplets/common/theme-thumbnail.c	2005-02-20 14:18:03.000000000 -0700
+++ control-center-2.8.2-tmp/capplets/common/theme-thumbnail.c	2005-04-13 12:01:11.000000000 -0600
@@ -177,7 +177,7 @@
 
   /* Create a pixmap */
   visual = gtk_widget_get_visual (window);
-  pixmap = gdk_pixmap_new (NULL, ICON_SIZE_WIDTH, ICON_SIZE_HEIGHT, gdk_visual_get_best_depth());
+  pixmap = gdk_pixmap_new (NULL, ICON_SIZE_WIDTH, ICON_SIZE_HEIGHT, visual->depth);
   gdk_drawable_set_colormap (GDK_DRAWABLE (pixmap), gtk_widget_get_colormap (window));
 
   /* Draw the window */
