[mutter/wip/carlosg/backendless-clutter: 13/27] backends/native: Remove unused array definition
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/backendless-clutter: 13/27] backends/native: Remove unused array definition
- Date: Thu, 20 May 2021 19:48:59 +0000 (UTC)
commit 556d39c1f99d28e5ca130d20448f49f86255e5db
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.
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 a7613627f3..415e013649 100644
--- a/src/backends/native/meta-seat-impl.c
+++ b/src/backends/native/meta-seat-impl.c
@@ -77,22 +77,6 @@ static MetaOpenDeviceCallback device_open_callback;
static MetaCloseDeviceCallback device_close_callback;
static gpointer device_callback_data;
-#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]