projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46bb1a9
)
inspector: Avoid an array overrun
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 18 Jan 2020 15:51:54 +0000
(10:51 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 18 Jan 2020 16:49:16 +0000
(11:49 -0500)
Commit
3f56af373891bf6e3
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
gtk/inspector/general.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/general.c
b/gtk/inspector/general.c
index 4f575de4a908b1b7d144737d5d7b21086f990bb0..5d50c67b0fee32fe947bd002045d8c702d3e7451 100644
(file)
--- a/
gtk/inspector/general.c
+++ b/
gtk/inspector/general.c
@@
-672,7
+672,8
@@
add_device (GtkInspectorGeneral *gen,
"Keyboard",
"Touchscreen",
"Touchpad",
- "Trackpoint"
+ "Trackpoint",
+ "Pad"
};
name = gdk_device_get_name (device);