Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
78ffb0db
Commit
78ffb0db
authored
May 11, 1994
by
Richard M. Stallman
Browse files
(string_width): Deleted.
parent
876b340b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
src/xmenu.c
src/xmenu.c
+0
-13
No files found.
src/xmenu.c
View file @
78ffb0db
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment