gparamspecs: Recommend use of most specific GParamSpec types
gparamspecs: Recommend use of most specific GParamSpec types

It’s quite common to see a g_param_spec_pointer() used for GObject or
boxed types which, while not incorrect, does make memory management
unsafe, since no copying or reference counting can be performed
automatically.

Similarly, people often use g_param_spec_boolean() when an enum would be
more appropriate, cf.
    http://blog.ometer.com/2011/01/20/boolean-parameters-are-wrong/
Using enums also means that the set of allowable values can be extended
in future if needed.

In the hope that people who write code like that read the documentation,
mention the more specific types in the documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=741779

tamaskenez/glib,ieei/glib,Distrotech/glib,endlessm/glib,tamaskenez/glib,tchakabam/glib,lukasz-skalski/glib,cention-sany/glib,krichter722/glib,cention-sany/glib,mzabaluev/glib,johne53/MB3Glib,tamaskenez/glib,MathieuDuponchelle/glib,MathieuDuponchelle/glib,krichter722/glib,Distrotech/glib,mzabaluev/glib,johne53/MB3Glib,cention-sany/glib,mzabaluev/glib,gale320/glib,mzabaluev/glib,krichter722/glib,ieei/glib,Distrotech/glib,lukasz-skalski/glib,tchakabam/glib,MathieuDuponchelle/glib,cention-sany/glib,gale320/glib,tamaskenez/glib,lukasz-skalski/glib,endlessm/glib,MathieuDuponchelle/glib,gale320/glib,endlessm/glib,endlessm/glib,johne53/MB3Glib,johne53/MB3Glib,endlessm/glib,johne53/MB3Glib,tchakabam/glib,MathieuDuponchelle/glib,tchakabam/glib,johne53/MB3Glib,Distrotech/glib,gale320/glib,tchakabam/glib,ieei/glib,krichter722/glib,cention-sany/glib,lukasz-skalski/glib,Distrotech/glib,gale320/glib,ieei/glib,mzabaluev/glib,ieei/glib,lukasz-skalski/glib,krichter722/glib,tamaskenez/glib