Commit 81e3f058 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

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

use NULL instead.
parent 2a73ab60
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment