GParam: try to avoid further invalid uses
authorRyan Lortie <desrt@desrt.ca>
Thu, 21 Jul 2011 06:33:50 +0000 (08:33 +0200)
committerRyan Lortie <desrt@desrt.ca>
Thu, 21 Jul 2011 06:37:27 +0000 (08:37 +0200)
commit706b2751166bb8590e41800d0b3c3056ba529daa
treeb0d8be251ef328787cc3237a28daaad03d3b6bdd
parent9bcb3d74572cf99a17ff5a1fd4becb1a1136291c
GParam: try to avoid further invalid uses

In an attempt to avoid some potential future abuses of the GParamSpec
API, qualify the 'name' field of the structure as 'const' and add a
comment noting that it is an interned string.

This is a theoretical API break, but it will only ever result in
warnings -- and even then, only if you were already doing something
questionable.

Clean up some of the warnings that were caused internally in gparam.c
from these changes.
gobject/gparam.c
gobject/gparam.h