giscanner: Fix pointer parsing.
authorKrzesimir Nowak <qdlacz@gmail.com>
Wed, 4 Jul 2012 20:44:02 +0000 (22:44 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 Jul 2012 14:35:11 +0000 (10:35 -0400)
commit25166e1ab675f2f61fcaa5cbf3ffb4f2cec1a6f6
tree1427dd5186005b7a40e81acffb3cef2ba198f539
parent6c66616b51aa105fec9b6d963ef49221d54a66c3
giscanner: Fix pointer parsing.

They were parsed in wrong order resulting in having wrong pointer
being const. For example - g_settings_list_schemas return type is
normally 'const gchar *const *', but parsing result was
'const gchar ** const'.

This was unnoticed, because pointer constness information is rather
not used by gobject-introspection now.

https://bugzilla.gnome.org/show_bug.cgi?id=656445
giscanner/scannerparser.y