mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 13:06:49 +03:00
[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:
parent
231adb8949
commit
d7447adc6c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user