Commit 92bb796d authored by Paul Eggert's avatar Paul Eggert

* xterm.c (x_alloc_nearest_color_for_widget): Remove; unused.

parent 764430a3
2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
* xterm.c (x_alloc_nearest_color_for_widget): Remove; unused.
* xfns.c, xterm.c (_XEditResCheckMessages): Protoize decl.
* xdisp.c, dispextern.h (set_vertical_scroll_bar): Now extern if
......
......@@ -1451,19 +1451,6 @@ x_frame_of_widget (Widget widget)
}
/* Allocate the color COLOR->pixel on the screen and display of
widget WIDGET in colormap CMAP. If an exact match cannot be
allocated, try the nearest color available. Value is non-zero
if successful. This is called from lwlib. */
int
x_alloc_nearest_color_for_widget (Widget widget, Colormap cmap, XColor *color)
{
struct frame *f = x_frame_of_widget (widget);
return x_alloc_nearest_color (f, cmap, color);
}
/* Allocate a color which is lighter or darker than *PIXEL by FACTOR
or DELTA. Try a color with RGB values multiplied by FACTOR first.
If this produces the same color as PIXEL, try a color where all RGB
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment