aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorPaul Eggert2011-04-15 19:47:50 -0700
committerPaul Eggert2011-04-15 19:47:50 -0700
commit92bb796d20f0a431ab65c10b9f3d145de40bf234 (patch)
tree80fb3279dcca19453fc5371c8f6a6f107dff87f9 /src/xterm.c
parent764430a3e33cce7459cdd0f3cd2b3459bff6cd7f (diff)
downloademacs-92bb796d20f0a431ab65c10b9f3d145de40bf234.tar.gz
emacs-92bb796d20f0a431ab65c10b9f3d145de40bf234.zip
* xterm.c (x_alloc_nearest_color_for_widget): Remove; unused.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 75b66c7600e..1a956ee7135 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -1451,19 +1451,6 @@ x_frame_of_widget (Widget widget)
1451} 1451}
1452 1452
1453 1453
1454/* Allocate the color COLOR->pixel on the screen and display of
1455 widget WIDGET in colormap CMAP. If an exact match cannot be
1456 allocated, try the nearest color available. Value is non-zero
1457 if successful. This is called from lwlib. */
1458
1459int
1460x_alloc_nearest_color_for_widget (Widget widget, Colormap cmap, XColor *color)
1461{
1462 struct frame *f = x_frame_of_widget (widget);
1463 return x_alloc_nearest_color (f, cmap, color);
1464}
1465
1466
1467/* Allocate a color which is lighter or darker than *PIXEL by FACTOR 1454/* Allocate a color which is lighter or darker than *PIXEL by FACTOR
1468 or DELTA. Try a color with RGB values multiplied by FACTOR first. 1455 or DELTA. Try a color with RGB values multiplied by FACTOR first.
1469 If this produces the same color as PIXEL, try a color where all RGB 1456 If this produces the same color as PIXEL, try a color where all RGB