[mutter/wip/carlosg/backendless-clutter: 1/16] backends/native: Remove unused array definition




commit 5785d8cde036cf336a174731bfa5ebf32250c80f
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon May 10 12:42:31 2021 +0200

    backends/native: Remove unused array definition
    
    This array is a relic from the input code belonging to Clutter,
    and is nowadays unused.
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1862>

 src/backends/native/meta-seat-impl.c | 16 ----------------
 1 file changed, 16 deletions(-)
---
diff --git a/src/backends/native/meta-seat-impl.c b/src/backends/native/meta-seat-impl.c
index 3a8fb847f2..26db30bd42 100644
--- a/src/backends/native/meta-seat-impl.c
+++ b/src/backends/native/meta-seat-impl.c
@@ -75,22 +75,6 @@ struct _MetaEventSource
   GPollFD event_poll_fd;
 };
 
-#ifdef CLUTTER_ENABLE_DEBUG
-static const char *device_type_str[] = {
-  "pointer",            /* CLUTTER_POINTER_DEVICE */
-  "keyboard",           /* CLUTTER_KEYBOARD_DEVICE */
-  "extension",          /* CLUTTER_EXTENSION_DEVICE */
-  "joystick",           /* CLUTTER_JOYSTICK_DEVICE */
-  "tablet",             /* CLUTTER_TABLET_DEVICE */
-  "touchpad",           /* CLUTTER_TOUCHPAD_DEVICE */
-  "touchscreen",        /* CLUTTER_TOUCHSCREEN_DEVICE */
-  "pen",                /* CLUTTER_PEN_DEVICE */
-  "eraser",             /* CLUTTER_ERASER_DEVICE */
-  "cursor",             /* CLUTTER_CURSOR_DEVICE */
-  "pad",                /* CLUTTER_PAD_DEVICE */
-};
-#endif /* CLUTTER_ENABLE_DEBUG */
-
 enum
 {
   PROP_0,


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