diff options
author | Egbert Eich <eich@suse.de> | 2005-04-04 10:17:06 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2005-04-04 10:17:06 +0000 |
commit | de5d24a200e4426e458fc447884d1a5b0257faaa (patch) | |
tree | af929037ac45000e35d894f5f4c2d94042af8c0a /hw/xfree86/utils/xorgcfg/help.c | |
parent | 277ff06e9999f2efe0f082a3565f6279219c13e4 (diff) |
Fixed sentinels in Xt, editres and xedit to reduce number of warnings with
gcc4 (Andreas Schwab).
Diffstat (limited to 'hw/xfree86/utils/xorgcfg/help.c')
-rw-r--r-- | hw/xfree86/utils/xorgcfg/help.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/hw/xfree86/utils/xorgcfg/help.c b/hw/xfree86/utils/xorgcfg/help.c index 630b56f1e..e13b9924e 100644 --- a/hw/xfree86/utils/xorgcfg/help.c +++ b/hw/xfree86/utils/xorgcfg/help.c @@ -95,7 +95,7 @@ Help(char *topic) str = XtMalloc(len = strlen(topic) + strlen(def_text) + 1); XmuSnprintf(str, len, def_text, topic); } - XtVaSetValues(text, XtNstring, str, NULL, 0); + XtVaSetValues(text, XtNstring, str, NULL); if (error) XtFree(str); @@ -128,7 +128,7 @@ StartHelp(void) pane = XtCreateManagedWidget("pane", panedWidgetClass, shell, NULL, 0); text = XtVaCreateManagedWidget("text", asciiTextWidgetClass, - pane, XtNeditType, XawtextRead, NULL, 0); + pane, XtNeditType, XawtextRead, NULL); commands = XtCreateManagedWidget("commands", formWidgetClass, pane, NULL, 0); close = XtCreateManagedWidget("close", commandWidgetClass, @@ -142,7 +142,7 @@ StartHelp(void) toplevel->core.screen, toplevel->core.colormap, toplevel->core.depth); - XtVaSetValues(XawTextGetSink(text), XawNtextProperties, propl, NULL, 0); + XtVaSetValues(XawTextGetSink(text), XawNtextProperties, propl, NULL); } } @@ -428,7 +428,7 @@ Html_ModeStart(Widget src) else parser->alink = 0L; - XtVaSetValues(src, XtNeditType, XawtextEdit, NULL, 0); + XtVaSetValues(src, XtNeditType, XawtextEdit, NULL); Html_ModeInit(); @@ -512,7 +512,7 @@ Html_ModeStart(Widget src) } XmuDestroyScanline(parser->mask); - XtVaSetValues(src, XtNeditType, XawtextRead, NULL, 0); + XtVaSetValues(src, XtNeditType, XawtextRead, NULL); XtFree((XtPointer)parser); @@ -534,9 +534,9 @@ Html_ModeEnd(Widget src) return; XawTextSourceClearEntities(src, 0, info->last); - XtVaSetValues(src, XtNeditType, XawtextEdit, NULL, 0); + XtVaSetValues(src, XtNeditType, XawtextEdit, NULL); XawTextSourceReplace(src, 0, info->last, &info->block); - XtVaSetValues(src, XtNeditType, XawtextRead, NULL, 0); + XtVaSetValues(src, XtNeditType, XawtextRead, NULL); if (info == source_info) source_info = source_info->next; |