[GScanner] the token field should be declared as guint and not as GTokenType
Submitted by Javier Jardón (IRC: jjardon)
Link to original bug (#627890)
Description
Because of this I get warnings when compiling GTK+ like this:
gtkbindings.c: In function 'gtk_binding_parse_signal':
gtkbindings.c:1443:2: warning: case value '45' not in enumerated type 'GTokenType'
gtkbindings.c: In function 'gtk_binding_parse_bind':
gtkbindings.c:1508:22: warning: comparison between 'GTokenType' and 'enum `<anonymous>`'
gtkbindings.c:1509:22: warning: comparison between 'GTokenType' and 'enum `<anonymous>`'
gtkbindings.c:1511:27: warning: comparison between 'GTokenType' and 'enum `<anonymous>`'
Version: 2.25.x
Edited by Corentin Noël