diff options
author | Gerd Moellmann <gerd@gnu.org> | 1999-09-03 18:49:53 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 1999-09-03 18:49:53 +0000 |
commit | dd7447ccb05a4ece8a49368c4f6ed51cfc904953 (patch) | |
tree | 6d8e1d1810c18fbb35ce9bf8a0d6097e8d031b82 /lwlib/xlwmenu.c | |
parent | f019cded83820bc7ea48f58914f243d20286746d (diff) | |
download | emacs-dd7447ccb05a4ece8a49368c4f6ed51cfc904953.tar.gz |
(make_shadow_gcs): Call
x_alloc_nearest_color_for_widget.
Diffstat (limited to 'lwlib/xlwmenu.c')
-rw-r--r-- | lwlib/xlwmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c index 24c16bbf751..d32d923ebc0 100644 --- a/lwlib/xlwmenu.c +++ b/lwlib/xlwmenu.c @@ -1434,7 +1434,7 @@ make_shadow_gcs (mw) topc.green = MINL (65535, topc.green * 1.2); topc.blue = MINL (65535, topc.blue * 1.2); #ifdef emacs - if (x_alloc_nearest_color (dpy, screen, cmap, &topc)) + if (x_alloc_nearest_color_for_widget (mw, cmap, &topc)) #else if (XAllocColor (dpy, cmap, &topc)) #endif @@ -1452,7 +1452,7 @@ make_shadow_gcs (mw) botc.green *= 0.6; botc.blue *= 0.6; #ifdef emacs - if (x_alloc_nearest_color (dpy, screen, cmap, &botc)) + if (x_alloc_nearest_color_for_widget (mw, cmap, &botc)) #else if (XAllocColor (dpy, cmap, &botc)) #endif |