(xm_arm_callback): Don't compare widgets with `None',

use NULL instead.
This commit is contained in:
Gerd Moellmann 2001-02-28 15:03:11 +00:00
parent 2a73ab6066
commit 81e3f05877

View 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)