--- a/branches/0.9/gtk/gtkdatabox_ruler.c
+++ b/branches/0.9/gtk/gtkdatabox_ruler.c
@@ -1,4 +1,4 @@
-/* $Id: gtkdatabox_ruler.c 5 2008-06-22 09:23:03Z rbock $ */
+/* $Id: gtkdatabox_ruler.c 7 2008-10-23 18:13:14Z rbock $ */
 /* GTK - The GIMP Toolkit
  * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
  *
@@ -757,7 +757,7 @@
 	 /*  If a backing store exists, restore the ruler  */
 	 if (ruler->priv->backing_pixmap)
 	    gdk_draw_drawable (widget->window,
-			       widget->style->black_gc,
+			       widget->style->fg_gc[GTK_WIDGET_STATE (ruler)],
 			       ruler->priv->backing_pixmap,
 			       ruler->priv->xsrc, ruler->priv->ysrc,
 			       ruler->priv->xsrc, ruler->priv->ysrc, bs_width, bs_height);