forked from AuroraMiddleware/gtk
Inspector: Add a missing event type
We did not have a name for the new touchpad hold events. To prevent this from happening again in the future, add a static assertion.
This commit is contained in:
parent
2daea9e459
commit
c9df9978d2
@ -1443,9 +1443,12 @@ event_type_name (GdkEventType type)
|
||||
"Pad Button Release",
|
||||
"Pad Rind",
|
||||
"Pad Strip",
|
||||
"Pad Group Mode"
|
||||
"Pad Group Mode",
|
||||
"Touchpad Hold",
|
||||
};
|
||||
|
||||
G_STATIC_ASSERT (G_N_ELEMENTS (event_name) == GDK_EVENT_LAST);
|
||||
|
||||
return event_name[type];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user