[gnome-control-center/wip/carlosg/wacom-facelift: 4/6] wacom: Use right function to find whether stylus has eraser tip
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/carlosg/wacom-facelift: 4/6] wacom: Use right function to find whether stylus has eraser tip
- Date: Mon, 31 Jan 2022 16:30:07 +0000 (UTC)
commit 0c19922cacd4c5576b836a1d65d7303fd63cd0b5
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]