diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-26 19:12:30 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-26 19:12:30 -0200 |
commit | 396f6dbb94447d2314a064f3384bae4c9f3dca01 (patch) | |
tree | 82d41b5a264985a297e6d90bb4b2fdd8d2df43ec /mainwin.c | |
parent | e06eddafd5f72f6f0782e37e9617c2e874021038 (diff) |
Correct make distcheck and gcc/sparse warnings.
Diffstat (limited to 'mainwin.c')
-rw-r--r-- | mainwin.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -43,8 +43,8 @@ Widget clientInfoButton; Widget logButton; Widget checkPointButton; Widget shutdownButton; -Widget shutdownMenu; -Widget shutdownSave; +static Widget shutdownMenu; +static Widget shutdownSave; Widget shutdownDontSave; @@ -80,7 +80,7 @@ create_main_window (void) XtNjustify, XtJustifyLeft, NULL); - XtAddCallback (clientInfoButton, XtNcallback, ClientInfoXtProc, 0); + XtAddCallback (clientInfoButton, XtNcallback, ClientInfoXtProc, NULL); logButton = XtVaCreateManagedWidget ( "logButton", commandWidgetClass, mainWindow, @@ -90,7 +90,7 @@ create_main_window (void) XtNjustify, XtJustifyLeft, NULL); - XtAddCallback (logButton, XtNcallback, DisplayLogXtProc, 0); + XtAddCallback (logButton, XtNcallback, DisplayLogXtProc, NULL); checkPointButton = XtVaCreateManagedWidget ( "checkPointButton", commandWidgetClass, mainWindow, @@ -100,7 +100,7 @@ create_main_window (void) XtNjustify, XtJustifyLeft, NULL); - XtAddCallback (checkPointButton, XtNcallback, CheckPointXtProc, 0); + XtAddCallback (checkPointButton, XtNcallback, CheckPointXtProc, NULL); shutdownButton = XtVaCreateManagedWidget ( "shutdownButton", menuButtonWidgetClass, mainWindow, @@ -123,8 +123,8 @@ create_main_window (void) "shutdownDontSave", smeBSBObjectClass, shutdownMenu, NULL); - XtAddCallback (shutdownSave, XtNcallback, ShutdownSaveXtProc, 0); - XtAddCallback (shutdownDontSave, XtNcallback, ShutdownDontSaveXtProc, 0); + XtAddCallback (shutdownSave, XtNcallback, ShutdownSaveXtProc, NULL); + XtAddCallback (shutdownDontSave, XtNcallback, ShutdownDontSaveXtProc, NULL); XtAppAddActions (appContext, actions, XtNumber (actions)); } |