projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e131fad
)
Move ManProc to xboard.c
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 17 Apr 2012 13:37:53 +0000 (15:37 +0200)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 17 Apr 2012 13:37:53 +0000 (15:37 +0200)
It calls ManInner, which requires X11 data types, even if the values are NULL.
menus.c
patch
|
blob
|
history
xboard.c
patch
|
blob
|
history
diff --git
a/menus.c
b/menus.c
index
f786eda
..
304d3c4
100644
(file)
--- a/
menus.c
+++ b/
menus.c
@@
-384,12
+384,6
@@
InfoProc ()
}
void
-ManProc ()
-{ // called from menu
- ManInner(NULL, NULL, NULL, NULL);
-}
-
-void
BugReportProc ()
{
char buf[MSG_SIZ];
diff --git
a/xboard.c
b/xboard.c
index
4935dea
..
863119e
100644
(file)
--- a/
xboard.c
+++ b/
xboard.c
@@
-3121,6
+3121,12
@@
ManInner (Widget w, XEvent *event, String *prms, Cardinal *nprms)
}
void
+ManProc ()
+{ // called from menu
+ ManInner(NULL, NULL, NULL, NULL);
+}
+
+void
SetWindowTitle (char *text, char *title, char *icon)
{
Arg args[16];