From a9a10f80d2b5d444c38eb54e99a6bccb07e0cbd6 Mon Sep 17 00:00:00 2001 From: Kaleb Keithley Date: Tue, 25 Nov 2003 19:29:01 +0000 Subject: XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks --- BitEdit.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/BitEdit.c b/BitEdit.c index a0a9015..235a6a2 100644 --- a/BitEdit.c +++ b/BitEdit.c @@ -26,7 +26,7 @@ other dealings in this Software without prior written authorization from The Open Group. */ -/* $XFree86: xc/programs/bitmap/BitEdit.c,v 1.6 2001/12/26 21:39:34 paulo Exp $ */ +/* $XFree86: xc/programs/bitmap/BitEdit.c,v 1.7 2003/05/27 22:26:55 tsi Exp $ */ /* * Author: Davor Matic, MIT X Consortium @@ -215,8 +215,8 @@ static Widget top_widget, parent_widget, formy_widget, - fileButton_widget, fileMenu_widget, - editButton_widget, editMenu_widget, + fileMenu_widget, + editMenu_widget, status_widget, pane_widget, form_widget, @@ -1014,9 +1014,10 @@ int main(int argc, char *argv[]) simpleMenuWidgetClass, formy_widget, NULL, 0); - fileButton_widget = XtCreateManagedWidget("fileButton", - menuButtonWidgetClass, - formy_widget, NULL, 0); + (void) XtCreateManagedWidget("fileButton", + menuButtonWidgetClass, + formy_widget, NULL, 0); + for (i = 0; i < XtNumber(file_menu); i++) { w = XtCreateManagedWidget(file_menu[i].name, (file_menu[i].trap ? @@ -1034,9 +1035,9 @@ int main(int argc, char *argv[]) simpleMenuWidgetClass, formy_widget, NULL, 0); - editButton_widget = XtCreateManagedWidget("editButton", - menuButtonWidgetClass, - formy_widget, NULL, 0); + (void) XtCreateManagedWidget("editButton", + menuButtonWidgetClass, + formy_widget, NULL, 0); for (i = 0; i < XtNumber(edit_menu); i++) { w = XtCreateManagedWidget(edit_menu[i].name, -- cgit v1.2.3