(xm_arm_callback): Don't compare widgets with `None',
use NULL instead.
This commit is contained in:
parent
2a73ab6066
commit
81e3f05877
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue