]> git.eshelyaron.com Git - emacs.git/commitdiff
(string_width): Deleted.
authorRichard M. Stallman <rms@gnu.org>
Wed, 11 May 1994 09:03:02 +0000 (09:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 11 May 1994 09:03:02 +0000 (09:03 +0000)
src/xmenu.c

index c22d258cbd1c02b070ae6b7188d720e333898c68..34438072cb61d70ce26e1a45650888cbd945c9b9 100644 (file)
@@ -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;