From: H.G. Muller Date: Tue, 17 Apr 2012 13:37:53 +0000 (+0200) Subject: Move ManProc to xboard.c X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=45bea0f2fdd5d1e938b0b8c0c2044e4d7bd2e0d2;p=xboard.git Move ManProc to xboard.c It calls ManInner, which requires X11 data types, even if the values are NULL. --- diff --git a/menus.c b/menus.c index f786eda..304d3c4 100644 --- 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 --- 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];