--- a/ui/motif/toolbar.c Fri Dec 11 11:47:30 2020 +0100 +++ b/ui/motif/toolbar.c Sun May 23 09:44:43 2021 +0200 @@ -258,7 +258,7 @@ XtManageChild(button); if(item->groups) { - uic_add_group_widget(obj->ctx, button, item->groups); + uic_add_group_widget(obj->ctx, button, (ui_enablefunc)XtSetSensitive, item->groups); } } @@ -292,7 +292,7 @@ XtManageChild(button); if(item->groups) { - uic_add_group_widget(obj->ctx, button, item->groups); + uic_add_group_widget(obj->ctx, button, (ui_enablefunc)XtSetSensitive, item->groups); } } @@ -325,7 +325,7 @@ XtManageChild(button); if(item->groups) { - uic_add_group_widget(obj->ctx, button, item->groups); + uic_add_group_widget(obj->ctx, button, (ui_enablefunc)XtSetSensitive, item->groups); } }