summaryrefslogtreecommitdiff
path: root/hw/xfree86/utils/xorgcfg/mouse-cfg.c
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2005-04-04 10:17:06 +0000
committerEgbert Eich <eich@suse.de>2005-04-04 10:17:06 +0000
commitde5d24a200e4426e458fc447884d1a5b0257faaa (patch)
treeaf929037ac45000e35d894f5f4c2d94042af8c0a /hw/xfree86/utils/xorgcfg/mouse-cfg.c
parent277ff06e9999f2efe0f082a3565f6279219c13e4 (diff)
Fixed sentinels in Xt, editres and xedit to reduce number of warnings with
gcc4 (Andreas Schwab).
Diffstat (limited to 'hw/xfree86/utils/xorgcfg/mouse-cfg.c')
-rw-r--r--hw/xfree86/utils/xorgcfg/mouse-cfg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/xfree86/utils/xorgcfg/mouse-cfg.c b/hw/xfree86/utils/xorgcfg/mouse-cfg.c
index ac15a1160..0f646828f 100644
--- a/hw/xfree86/utils/xorgcfg/mouse-cfg.c
+++ b/hw/xfree86/utils/xorgcfg/mouse-cfg.c
@@ -367,7 +367,7 @@ MouseDeviceAndProtocol(XF86SetupInfo *info)
text = XtVaCreateManagedWidget("device", asciiTextWidgetClass,
mouse_dp,
XtNeditType, XawtextEdit,
- NULL, 0);
+ NULL);
viewport = XtCreateManagedWidget("viewportD", viewportWidgetClass,
mouse_dp, NULL, 0);
@@ -375,7 +375,7 @@ MouseDeviceAndProtocol(XF86SetupInfo *info)
viewport,
XtNlist, devices,
XtNnumberStrings, ndevices,
- NULL, 0);
+ NULL);
XtAddCallback(listD, XtNcallback, MouseDeviceCallback, (XtPointer)text);
/* PROTOCOL */
@@ -392,11 +392,11 @@ MouseDeviceAndProtocol(XF86SetupInfo *info)
viewport,
XtNlist, list,
XtNnumberStrings, count,
- NULL, 0);
+ NULL);
XtAddCallback(listP, XtNcallback, MouseProtocolCallback, NULL);
emul3 = XtVaCreateManagedWidget("emulate3", toggleWidgetClass,
- mouse_dp, XtNstate, True, NULL, 0);
+ mouse_dp, XtNstate, True, NULL);
XtAddCallback(emul3, XtNcallback, MouseEmulateCallback, NULL);
apply = XtCreateManagedWidget("apply", commandWidgetClass,
mouse_dp, NULL, 0);