diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:49:08 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:49:08 +0000 |
commit | 8cecc3c57442851cdbe5e3bb24be7892eb397803 (patch) | |
tree | 4179b526cad50d9ea445dfdf4962b61c7f4d890e /BitEdit.c | |
parent | 3e9f89c7239ae0cf1599277cc879a03cdf33b7c8 (diff) |
merge latest (4.3.99.16) from XFree86 (vendor) branchXORG-RELEASE-1-BASEXEVIE-MERGEXEVIE-BASEXINERAMA_2XEVIE
Diffstat (limited to 'BitEdit.c')
-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, |