[gtk/matthiasc/for-master: 3/7] inspector: Fix up input enum names



commit a07c030d02119f11be6082eb7acab7e1af32cb39
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jul 13 17:13:43 2020 -0400

    inspector: Fix up input enum names
    
    We've recently added and removed a few values in these
    enumerations. Keep the names in sync, so we don't show
    nonsense.

 gtk/inspector/general.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c
index be31eaa0dd..2d09efeb40 100644
--- a/gtk/inspector/general.c
+++ b/gtk/inspector/general.c
@@ -681,6 +681,8 @@ add_device (GtkInspectorGeneral *gen,
     "Ignore",
     "X",
     "Y",
+    "Delta X",
+    "Delta Y",
     "Pressure",
     "X Tilt",
     "Y Tilt",
@@ -692,7 +694,6 @@ add_device (GtkInspectorGeneral *gen,
   const char *source_name[] = {
     "Mouse",
     "Pen",
-    "Eraser",
     "Cursor",
     "Keyboard",
     "Touchscreen",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]