From d7447adc6cab2618d9c233a91ad6b984d5852777 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 26 Mar 2006 16:36:20 +0000 Subject: [PATCH] [project @ 2006-03-26 16:36:20 by dsilvers] Fix plotters to use system colormap to save widget ranting when rendering history thumbnails svn path=/import/netsurf/; revision=2177 --- gtk/gtk_plotters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtk_plotters.c b/gtk/gtk_plotters.c index 7e0c6bd06..68a2d0e95 100644 --- a/gtk/gtk_plotters.c +++ b/gtk/gtk_plotters.c @@ -339,7 +339,7 @@ void nsgtk_set_colour(colour c) colour.blue = b | (b << 8); colour.pixel = (r << 16) | (g << 8) | b; - gdk_color_alloc(gtk_widget_get_colormap(current_widget), + gdk_color_alloc(gdk_colormap_get_system(), &colour); gdk_gc_set_foreground(current_gc, &colour); #ifdef CAIRO_VERSION