From 41d41e69ad85873a5cbdbcd2d358232c7f4dc229 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 31 Jan 2010 20:39:28 +0100 Subject: [PATCH] Use the colormap of the widget with KatzeScrolled --- katze/katze-scrolled.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/katze/katze-scrolled.c b/katze/katze-scrolled.c index 87473d36..619e4b7a 100644 --- a/katze/katze-scrolled.c +++ b/katze/katze-scrolled.c @@ -878,7 +878,7 @@ katze_scrolled_realize (GtkWidget* widget) G_CALLBACK (on_expose_event), scrolled); color.red = color.green = color.blue = 0x9999; - gdk_rgb_find_color (gdk_colormap_get_system (), &color); + gdk_rgb_find_color (gtk_widget_get_colormap (widget), &color); gdk_window_set_background (priv->vertical_scrollbar_window, &color); gdk_window_set_background (priv->horizontal_scrollbar_window, &color); -- 2.39.5