tags 749417 help thanks
Hi Michael Thank you for your bug report. I did have a look at this some time ago and found more information in bug #747585. I prepared the attached patch, but before I push the changes and send upstream, I would really appreciate a review. Also, when I attempted to build the package with goto-cc it failed during linking, so there may be some things that still need fixing that I have missed. Regards Graham
Description: goto-cc fixes Author: Graham Inggs <[email protected]> Forwarded: no Bug-Debian: http://bugs.debian.org/749417 Last-Update: 2014-07-02 --- a/lib/Xm/EditresComI.h +++ b/lib/Xm/EditresComI.h @@ -8,7 +8,7 @@ extern "C" { #endif -void _XmEditResCheckMessages(Widget w, XtPointer data, XEvent event, Boolean cont); +void _XmEditResCheckMessages(Widget w, XtPointer data, XEvent *event, Boolean *cont); #ifdef __cplusplus } /* Close scope of 'extern "C"' declaration which encloses file. */ --- a/lib/Xm/DataFSel.c +++ b/lib/Xm/DataFSel.c @@ -88,7 +88,7 @@ #define WIDE_PROTOTYPE Boolean #endif -extern void _XmDataFieldDeselectSelection(Widget, int, WIDE_PROTOTYPE, Time); +extern void _XmDataFieldDeselectSelection(Widget, WIDE_PROTOTYPE, Time); extern void _XmDataFieldStartSelection(XmDataFieldWidget, XmTextPosition, XmTextPosition, Time); extern int _XmDataFieldCountBytes(XmDataFieldWidget, wchar_t *, int); @@ -792,7 +792,7 @@ /* Losing Primary Selection */ if (*selection == XA_PRIMARY && XmTextF_has_primary(tf)) { XmAnyCallbackStruct cb; - _XmDataFieldDeselectSelection(w, False, 0, + _XmDataFieldDeselectSelection(w, False, XtLastTimestampProcessed(XtDisplay(w))); cb.reason = XmCR_LOSE_PRIMARY; --- a/lib/Xm/TabStack.c +++ b/lib/Xm/TabStack.c @@ -71,7 +71,7 @@ extern int _XmTabBoxGetMaxTabHeight _ARGS((Widget)); extern void _XmTabBoxSelectTab _ARGS((Widget, int)); extern void _XmTabBoxGetNumRowsColumns _ARGS((Widget, int, int *, int *)); -extern void _XmTabBoxStackedGeometry _ARGS((Widget, int, XRectangle *)); +extern void _XmTabBoxStackedGeometry _ARGS((XmTabBoxWidget, Dimension, XRectangle *)); extern int _XmTabbedStackListCount _ARGS((XmTabbedStackList)); #ifndef _NO_PROTO

