From: Christian Dywan Date: Sun, 31 Jan 2010 19:39:28 +0000 (+0100) Subject: Use the colormap of the widget with KatzeScrolled X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41d41e69ad85873a5cbdbcd2d358232c7f4dc229;p=midori Use the colormap of the widget with KatzeScrolled --- 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);