From 78ffb0db334ca6d5655da61c5a0658a342345edb Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 11 May 1994 09:03:02 +0000 Subject: [PATCH] (string_width): Deleted. --- src/xmenu.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/xmenu.c b/src/xmenu.c index c22d258cbd1..34438072cb6 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -93,7 +93,6 @@ extern Lisp_Object Qmenu_bar; extern void process_expose_from_menu (); extern XtAppContext Xt_app_con; -static int string_width (); static Lisp_Object xdialog_show (); #endif @@ -986,18 +985,6 @@ dispatch_dummy_expose (w, x, y) XtDispatchEvent ((XEvent *) &dummy); } -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; -- 2.39.5