Bug#379011: vim-lesstif: gvim always crashes during startup

2006-09-30 Thread Christian Aichinger
On Sun, Aug 27, 2006 at 03:41:35AM +0100, Ben Hutchings wrote: XmEnhancedButton doesn't initially have an XmPrimitiveClassExtRec of its own (primitive_class.extension is NULL) so I'm not sure how it gets one. Using a copy of the record from XmPushButton works around the bug in vim: This has

Bug#379011: vim-lesstif: gvim always crashes during startup

2006-08-26 Thread Ben Hutchings
The function in which the crash occurs is: Boolean XmWidgetGetBaselines(Widget w, Dimension **baselines, int *line_count) { if (XmIsLabel(w)) { XmPrimitiveClassExt *extptr; extptr = _XmGetPrimitiveClassExtPtr(XtClass(w), NULLQUARK); if (extptr *extptr