Mercurial > hg > xemacs-beta
diff lwlib/lwlib-Xlw.c @ 163:0132846995bd r20-3b8
Import from CVS: tag r20-3b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:43:35 +0200 |
parents | 6b37e6ddd302 |
children | 5a88923fcbfe |
line wrap: on
line diff
--- a/lwlib/lwlib-Xlw.c Mon Aug 13 09:42:28 2007 +0200 +++ b/lwlib/lwlib-Xlw.c Mon Aug 13 09:43:35 2007 +0200 @@ -110,7 +110,7 @@ XtVaCreateWidget (instance->info->name, xlwMenuWidgetClass, instance->parent, XtNmenu, instance->info->val, - 0); + NULL); XtAddCallback (widget, XtNopen, pre_hook, (XtPointer)instance); XtAddCallback (widget, XtNselect, pick_hook, (XtPointer)instance); return widget; @@ -128,7 +128,7 @@ popup_shell, XtNmenu, instance->info->val, XtNhorizontal, False, - 0); + NULL); XtAddCallback (widget, XtNselect, pick_hook, (XtPointer)instance); @@ -269,13 +269,13 @@ XtNy, data->scrollbar_y, XtNwidth, data->scrollbar_width, XtNheight, data->scrollbar_height, - 0); + NULL); /* Now size the scrollbar's slider. */ XtVaGetValues (widget, XmNsliderSize, &widget_sliderSize, XmNvalue, &widget_val, - 0); + NULL); percent = (double) data->slider_size / (double) (data->maximum - data->minimum); @@ -357,7 +357,7 @@ mw = (XlwMenuWidget)((CompositeWidget)widget)->composite.children [0]; else mw = (XlwMenuWidget)widget; - XtVaSetValues (widget, XtNmenu, val, 0); + XtVaSetValues (widget, XtNmenu, val, NULL); } #endif #ifdef SCROLLBARS_LUCID