X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/ceb2df0fe41852ba3f5637dcd04217113b4259ba..ca97af514870895e228df0443adc5a16be4d9a78:/src/motif_ui.c diff --git a/src/motif_ui.c b/src/motif_ui.c index 5941834..c650031 100644 --- a/src/motif_ui.c +++ b/src/motif_ui.c @@ -275,15 +275,8 @@ void ui_initialize(struct app_state *state, Widget shell) configure_mainwin(state, XtNameToWidget(shell, "*game")); - XtVaGetValues(state->game, XmNwidth, &state->game_sz[0], - XmNheight, &state->game_sz[1], - (char *)NULL); XtAddCallback(state->game, XmNresizeCallback, resize, state); XtAddCallback(state->game, XmNexposeCallback, expose, state); - - XtVaGetValues(state->game, XmNwidth, &state->goal_sz[0], - XmNheight, &state->goal_sz[1], - (char *)NULL); XtAddCallback(state->goal, XmNresizeCallback, resize, state); XtAddCallback(state->goal, XmNexposeCallback, expose, state); }