diff lwlib/lwlib-Xm.c @ 1458:60c5c2f74650

[xemacs-hg @ 2003-05-05 04:52:40 by youngs] 2003-05-05 Steve Youngs <youngs@xemacs.org> * lwlib-Xm.c (xm_update_one_widget): Only call `xm_update_progress' if `LWLIB_WIDGETS_MOTIF' is defined.
author youngs
date Mon, 05 May 2003 04:52:40 +0000
parents 4542b72c005e
children 04bc9d2f42c7
line wrap: on
line diff
--- a/lwlib/lwlib-Xm.c	Sun May 04 22:31:06 2003 +0000
+++ b/lwlib/lwlib-Xm.c	Mon May 05 04:52:40 2003 +0000
@@ -902,10 +902,12 @@
       xm_update_scrollbar (instance, widget, val);
     }
 #endif
+#ifdef LWLIB_WIDGETS_MOTIF
   else if (class_ == xmScaleWidgetClass)
     {
       xm_update_progress (instance, widget, val);
     }
+#endif
   /* Lastly update our global arg values. */
   if (val->args && val->args->nargs)
     XtSetValues (widget, val->args->args, val->args->nargs);