diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:01 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:01 +0000 |
commit | a9a10f80d2b5d444c38eb54e99a6bccb07e0cbd6 (patch) | |
tree | 4179b526cad50d9ea445dfdf4962b61c7f4d890e | |
parent | 5b64274abaf585d108e65cb1dae497e74cad856e (diff) |
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_903_specialxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-012804-2330
-rw-r--r-- | BitEdit.c | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -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, |