From 31a58552ffc647d2c87b557441d3725c6fba2b37 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 20 Oct 2011 22:00:46 +0000 Subject: Use TXT_MessageBox where appropriate. Subversion-branch: /branches/v2-branch Subversion-revision: 2446 --- src/setup/execute.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/setup/execute.c') diff --git a/src/setup/execute.c b/src/setup/execute.c index f85b8af4..96a14fae 100644 --- a/src/setup/execute.c +++ b/src/setup/execute.c @@ -370,14 +370,10 @@ static void TestCallback(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(data)) char *main_cfg; char *extra_cfg; txt_window_t *testwindow; - txt_label_t *label; - testwindow = TXT_NewWindow("Starting Doom"); - - label = TXT_NewLabel("Starting Doom to test the\n" - "settings. Please wait."); - TXT_SetWidgetAlign(label, TXT_HORIZ_CENTER); - TXT_AddWidget(testwindow, label); + testwindow = TXT_MessageBox("Starting Doom", + "Starting Doom to test the\n" + "settings. Please wait."); TXT_DrawDesktop(); // Save temporary configuration files with the current configuration -- cgit v1.2.3