From bd31ddba0725738848be8298a7b1dd691c103fa3 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Mon, 4 Apr 2005 10:17:07 +0000 Subject: Fixed sentinels in Xt, editres and xedit to reduce number of warnings with gcc4 (Andreas Schwab). --- ispell.c | 10 +++++----- options.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ispell.c b/ispell.c index 9ee7a2f..1e7d38a 100644 --- a/ispell.c +++ b/ispell.c @@ -27,7 +27,7 @@ * Author: Paulo César Pereira de Andrade */ -/* $XdotOrg: xc/programs/xedit/ispell.c,v 1.5 2004/09/02 08:40:32 kem Exp $ */ +/* $XdotOrg: xc/programs/xedit/ispell.c,v 1.6 2004/12/04 00:43:13 kuhn Exp $ */ /* $XFree86: xc/programs/xedit/ispell.c,v 1.19 2002/10/19 20:04:20 herrb Exp $ */ #include "xedit.h" @@ -2053,7 +2053,7 @@ InitIspell(void) ispell.text = XtVaCreateManagedWidget("text", asciiTextWidgetClass, ispell.form, XtNeditType, XawtextEdit, - NULL, 0); + NULL); ispell.suggestions = XtCreateManagedWidget("suggestions", labelWidgetClass, ispell.form, NULL, 0); ispell.viewport = XtCreateManagedWidget("viewport", viewportWidgetClass, @@ -2099,7 +2099,7 @@ InitIspell(void) ispell.terse = XtVaCreateManagedWidget("terse", toggleWidgetClass, ispell.commands, XtNstate, ispell.terse_mode, - NULL, 0); + NULL); XtAddCallback(ispell.terse, XtNcallback, ToggleTerseIspell, NULL); ispell.status = XtCreateManagedWidget("status", labelWidgetClass, ispell.form, NULL, 0); @@ -2108,7 +2108,7 @@ InitIspell(void) ispell.dict = XtVaCreateManagedWidget("dict", menuButtonWidgetClass, ispell.options, XtNmenuName, "dictionaries", - NULL, 0); + NULL); ispell.dictMenu = XtCreatePopupShell("dictionaries", simpleMenuWidgetClass, ispell.options, NULL, 0); XtRealizeWidget(ispell.dictMenu); @@ -2116,7 +2116,7 @@ InitIspell(void) ispell.format = XtVaCreateManagedWidget("format", menuButtonWidgetClass, ispell.options, XtNmenuName, "formats", - NULL, 0); + NULL); ispell.formatMenu = XtCreatePopupShell("formats", simpleMenuWidgetClass, ispell.options, NULL, 0); XtRealizeWidget(ispell.formatMenu); diff --git a/options.c b/options.c index e9ffb6b..553fa94 100644 --- a/options.c +++ b/options.c @@ -349,11 +349,11 @@ CreateColumnsShell(void) XtCreateManagedWidget("leftLabel", labelWidgetClass, form, NULL, 0); left_text = XtVaCreateManagedWidget("left", asciiTextWidgetClass, form, XtNeditType, XawtextEdit, - NULL, 0); + NULL); XtCreateManagedWidget("rightLabel", labelWidgetClass, form, NULL, 0); right_text = XtVaCreateManagedWidget("right", asciiTextWidgetClass, form, XtNeditType, XawtextEdit, - NULL, 0); + NULL); ok = XtCreateManagedWidget("ok", commandWidgetClass, form, NULL, 0); XtAddCallback(ok, XtNcallback, ProcessColumnsCallback, (XtPointer)True); -- cgit v1.2.3