summaryrefslogtreecommitdiff
path: root/info.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-26 19:12:30 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-26 19:12:30 -0200
commit396f6dbb94447d2314a064f3384bae4c9f3dca01 (patch)
tree82d41b5a264985a297e6d90bb4b2fdd8d2df43ec /info.c
parente06eddafd5f72f6f0782e37e9617c2e874021038 (diff)
Correct make distcheck and gcc/sparse warnings.
Diffstat (limited to 'info.c')
-rw-r--r--info.c62
1 files changed, 31 insertions, 31 deletions
diff --git a/info.c b/info.c
index 7760ae4..728bbb3 100644
--- a/info.c
+++ b/info.c
@@ -43,26 +43,26 @@ in this Software without prior written authorization from The Open Group.
static Pixmap checkBitmap;
Widget clientInfoPopup;
-Widget clientInfoForm;
-Widget viewPropButton;
-Widget cloneButton;
-Widget killClientButton;
-Widget clientInfoDoneButton;
-Widget restartHintButton;
-Widget restartHintMenu;
-Widget restartIfRunning;
-Widget restartAnyway;
-Widget restartImmediately;
-Widget restartNever;
-Widget clientListWidget;
-Widget noClientsLabel;
-Widget manualRestartLabel;
-Widget manualRestartCommands;
+static Widget clientInfoForm;
+static Widget viewPropButton;
+static Widget cloneButton;
+static Widget killClientButton;
+static Widget clientInfoDoneButton;
+static Widget restartHintButton;
+static Widget restartHintMenu;
+static Widget restartIfRunning;
+static Widget restartAnyway;
+static Widget restartImmediately;
+static Widget restartNever;
+Widget clientListWidget;
+static Widget noClientsLabel;
+Widget manualRestartLabel;
+Widget manualRestartCommands;
Widget clientPropPopup;
-Widget clientPropForm;
-Widget clientPropDoneButton;
-Widget clientPropTextWidget;
+static Widget clientPropForm;
+static Widget clientPropDoneButton;
+static Widget clientPropTextWidget;
@@ -815,8 +815,8 @@ create_client_info_popup(void)
XtNleft, XawChainLeft,
XtNright, XawChainLeft,
NULL);
-
- XtAddCallback (viewPropButton, XtNcallback, ViewPropXtProc, 0);
+
+ XtAddCallback (viewPropButton, XtNcallback, ViewPropXtProc, NULL);
cloneButton = XtVaCreateManagedWidget (
@@ -828,8 +828,8 @@ create_client_info_popup(void)
XtNleft, XawChainLeft,
XtNright, XawChainLeft,
NULL);
-
- XtAddCallback (cloneButton, XtNcallback, CloneXtProc, 0);
+
+ XtAddCallback (cloneButton, XtNcallback, CloneXtProc, NULL);
killClientButton = XtVaCreateManagedWidget (
@@ -841,8 +841,8 @@ create_client_info_popup(void)
XtNleft, XawChainLeft,
XtNright, XawChainLeft,
NULL);
-
- XtAddCallback (killClientButton, XtNcallback, KillClientXtProc, 0);
+
+ XtAddCallback (killClientButton, XtNcallback, KillClientXtProc, NULL);
restartHintButton = XtVaCreateManagedWidget (
@@ -880,10 +880,10 @@ create_client_info_popup(void)
XtNleftMargin, 18,
NULL);
- XtAddCallback (restartIfRunning, XtNcallback, RestartHintXtProc, 0);
- XtAddCallback (restartAnyway, XtNcallback, RestartHintXtProc, 0);
- XtAddCallback (restartImmediately, XtNcallback, RestartHintXtProc, 0);
- XtAddCallback (restartNever, XtNcallback, RestartHintXtProc, 0);
+ XtAddCallback (restartIfRunning, XtNcallback, RestartHintXtProc, NULL);
+ XtAddCallback (restartAnyway, XtNcallback, RestartHintXtProc, NULL);
+ XtAddCallback (restartImmediately, XtNcallback, RestartHintXtProc, NULL);
+ XtAddCallback (restartNever, XtNcallback, RestartHintXtProc, NULL);
clientInfoDoneButton = XtVaCreateManagedWidget (
@@ -896,7 +896,7 @@ create_client_info_popup(void)
XtNright, XawChainLeft,
NULL);
- XtAddCallback (clientInfoDoneButton, XtNcallback, listDoneXtProc, 0);
+ XtAddCallback (clientInfoDoneButton, XtNcallback, listDoneXtProc, NULL);
clientListWidget = XtVaCreateManagedWidget (
@@ -910,7 +910,7 @@ create_client_info_popup(void)
XtNbottom, XawChainTop,
NULL);
- XtAddCallback (clientListWidget, XtNcallback, ClientListXtProc, 0);
+ XtAddCallback (clientListWidget, XtNcallback, ClientListXtProc, NULL);
noClientsLabel = XtVaCreateWidget (
"noClientsLabel", labelWidgetClass, clientInfoForm,
@@ -971,7 +971,7 @@ create_client_info_popup(void)
XtNright, XawChainLeft,
NULL);
- XtAddCallback (clientPropDoneButton, XtNcallback, clientPropDoneXtProc, 0);
+ XtAddCallback (clientPropDoneButton, XtNcallback, clientPropDoneXtProc, NULL);
clientPropTextWidget = XtVaCreateManagedWidget (