wacom: Use right function to find whether stylus has eraser tip

We are looking for paired styli that act as standalone erasers, this is
not what we are looking for here.
This commit is contained in:
Carlos Garnacho 2022-01-31 16:50:46 +01:00 committed by Georges Basile Stavracas Neto
parent 2bbc1fd2bb
commit 9bd0b94527

View file

@ -305,5 +305,5 @@ cc_wacom_tool_get_has_eraser (CcWacomTool *tool)
{
g_return_val_if_fail (CC_IS_WACOM_TOOL (tool), FALSE);
return libwacom_stylus_has_eraser (tool->wstylus);
return libwacom_stylus_is_eraser (tool->wstylus);
}