[gnome-control-center/wip/carlosg/wacom-facelift: 25/28] wacom: Use right function to find whether stylus has eraser tip
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/carlosg/wacom-facelift: 25/28] wacom: Use right function to find whether stylus has eraser tip
- Date: Tue, 1 Feb 2022 14:18:55 +0000 (UTC)
commit 9bd0b945272cb2cfcb3d7d0d2c3ab994e2f00b8b
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jan 31 16:50:46 2022 +0100
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.
panels/wacom/cc-wacom-tool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/wacom/cc-wacom-tool.c b/panels/wacom/cc-wacom-tool.c
index d54de6160..aa741e8c3 100644
--- a/panels/wacom/cc-wacom-tool.c
+++ b/panels/wacom/cc-wacom-tool.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]