mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 04:31:09 +00:00
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:
parent
46bb1a9b6a
commit
92cfc03821
@ -672,7 +672,8 @@ add_device (GtkInspectorGeneral *gen,
|
||||
"Keyboard",
|
||||
"Touchscreen",
|
||||
"Touchpad",
|
||||
"Trackpoint"
|
||||
"Trackpoint",
|
||||
"Pad"
|
||||
};
|
||||
|
||||
name = gdk_device_get_name (device);
|
||||
|
Loading…
Reference in New Issue
Block a user