diff lwlib/lwlib-Xm.c @ 36440:c94bea694181

(xm_arm_callback): Don't compare widgets with `None', use NULL instead.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 28 Feb 2001 15:03:11 +0000
parents d45267642a42
children 93e2f21c32bd
line wrap: on
line diff
--- a/lwlib/lwlib-Xm.c	Wed Feb 28 14:55:33 2001 +0000
+++ b/lwlib/lwlib-Xm.c	Wed Feb 28 15:03:11 2001 +0000
@@ -266,7 +266,7 @@
   widget_instance *instance;
 
   /* Get the id of the menu bar or popup menu this widget is in.  */
-  while (w != None)
+  while (w != NULL)
     {
       if (XmIsRowColumn (w))
 	{
@@ -280,7 +280,7 @@
       w = XtParent (w);
     }
 
-  if (w != None)
+  if (w != NULL)
     {
       instance = lw_get_widget_instance (w);
       if (instance && instance->info->highlight_cb)