]> code.delx.au - gnu-emacs/commitdiff
(xm_arm_callback): Don't compare widgets with `None',
authorGerd Moellmann <gerd@gnu.org>
Wed, 28 Feb 2001 15:03:11 +0000 (15:03 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 28 Feb 2001 15:03:11 +0000 (15:03 +0000)
use NULL instead.

lwlib/lwlib-Xm.c

index 16c8a947a4a9a81fa4088c6ef1147245362679c2..38142d79387e73e997aef019599c8e1ee1a3f0c5 100644 (file)
@@ -266,7 +266,7 @@ xm_arm_callback (w, client_data, call_data)
   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 @@ xm_arm_callback (w, client_data, call_data)
       w = XtParent (w);
     }
 
-  if (w != None)
+  if (w != NULL)
     {
       instance = lw_get_widget_instance (w);
       if (instance && instance->info->highlight_cb)