bf9d57d
diff -up gnome-desktop-2.28.2/libgnome-desktop/gnome-bg.c.crash gnome-desktop-2.28.2/libgnome-desktop/gnome-bg.c
bf9d57d
--- gnome-desktop-2.28.2/libgnome-desktop/gnome-bg.c.crash	2010-01-08 13:26:17.000000000 -0500
bf9d57d
+++ gnome-desktop-2.28.2/libgnome-desktop/gnome-bg.c	2010-01-08 13:27:23.909658442 -0500
bf9d57d
@@ -630,6 +630,14 @@ draw_color_area (GnomeBG *bg,
bf9d57d
 		 GdkRectangle *rect)
bf9d57d
 {
bf9d57d
 	guint32 pixel;
bf9d57d
+        GdkRectangle extent;
bf9d57d
+
bf9d57d
+        extent.x = 0;
bf9d57d
+        extent.y = 0;
bf9d57d
+        extent.width = gdk_pixbuf_get_width (dest);
bf9d57d
+        extent.height = gdk_pixbuf_get_height (dest);
bf9d57d
+
bf9d57d
+        gdk_rectangle_intersect (rect, &extent, rect);
bf9d57d
 	
bf9d57d
 	switch (bg->color_type) {
bf9d57d
 	case GNOME_BG_COLOR_SOLID: