Mercurial > emacs
changeset 7458:ac210d94f33f
(string_width): Deleted.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 11 May 1994 09:03:02 +0000 |
parents | 315fb6386b54 |
children | 1a6156c8731e |
files | src/xmenu.c |
diffstat | 1 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xmenu.c Wed May 11 04:51:02 1994 +0000 +++ b/src/xmenu.c Wed May 11 09:03:02 1994 +0000 @@ -93,7 +93,6 @@ extern void process_expose_from_menu (); extern XtAppContext Xt_app_con; -static int string_width (); static Lisp_Object xdialog_show (); #endif @@ -987,18 +986,6 @@ } static int -string_width (mw, s) - XlwMenuWidget mw; - char* s; -{ - XCharStruct xcs; - int drop; - - XTextExtents (mw->menu.font, s, strlen (s), &drop, &drop, &drop, &xcs); - return xcs.width; -} - -static int event_is_in_menu_item (mw, event, name, string_w) XlwMenuWidget mw; struct input_event *event;