changeset 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 b627cfd39e8a
children e4352ad927f2
files lwlib/ChangeLog lwlib/lwlib-Xm.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/ChangeLog	Sun May 04 22:31:06 2003 +0000
+++ b/lwlib/ChangeLog	Mon May 05 04:52:40 2003 +0000
@@ -1,3 +1,8 @@
+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.
+
 2003-04-24  Steve Youngs  <youngs@xemacs.org>
 
 	* XEmacs 21.5.12 "carrot" is released.
--- 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);