[gnome-control-center/wip/carlosg/wacom-facelift: 4/6] wacom: Use right function to find whether stylus has eraser tip




commit 8607e8d666676a883aa98175b9e41eb295a0910b
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]