[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
This commit is contained in:
Daniel Silverstone 2006-03-26 16:36:20 +00:00
parent 231adb8949
commit d7447adc6c

View File

@ -339,7 +339,7 @@ void nsgtk_set_colour(colour c)
colour.blue = b | (b << 8); colour.blue = b | (b << 8);
colour.pixel = (r << 16) | (g << 8) | b; colour.pixel = (r << 16) | (g << 8) | b;
gdk_color_alloc(gtk_widget_get_colormap(current_widget), gdk_color_alloc(gdk_colormap_get_system(),
&colour); &colour);
gdk_gc_set_foreground(current_gc, &colour); gdk_gc_set_foreground(current_gc, &colour);
#ifdef CAIRO_VERSION #ifdef CAIRO_VERSION