inspector: Avoid an array overrun

Commit 3f56af3738 added a new value to the
GdkInputSource enum, forgetting that the inspector
has an array of names to match this enum.

Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/2385
This commit is contained in:
Matthias Clasen 2020-01-18 10:51:54 -05:00
parent 46bb1a9b6a
commit 92cfc03821

View File

@ -672,7 +672,8 @@ add_device (GtkInspectorGeneral *gen,
"Keyboard",
"Touchscreen",
"Touchpad",
"Trackpoint"
"Trackpoint",
"Pad"
};
name = gdk_device_get_name (device);