Fix an array overrun

When I introduced the new input source enum value for
track points, I forgot that there is a fixed-size array
with names for those in the inspector.
This commit is contained in:
Matthias Clasen 2016-06-23 15:46:45 -04:00
parent 78eccd0db9
commit 8430be75ed

View File

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