GParamSpec: Use new fundamental instance check

https://bugzilla.gnome.org/show_bug.cgi?id=730984
This commit is contained in:
Edward Hervey 2014-05-30 12:25:27 +02:00 committed by Ryan Lortie
parent faceb8960b
commit f8595a490f

View File

@ -50,7 +50,7 @@ G_BEGIN_DECLS
* Checks whether @pspec "is a" valid #GParamSpec structure of type %G_TYPE_PARAM * Checks whether @pspec "is a" valid #GParamSpec structure of type %G_TYPE_PARAM
* or derived. * or derived.
*/ */
#define G_IS_PARAM_SPEC(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM)) #define G_IS_PARAM_SPEC(pspec) (G_TYPE_CHECK_INSTANCE_FUNDAMENTAL_TYPE ((pspec), G_TYPE_PARAM))
/** /**
* G_PARAM_SPEC_CLASS: * G_PARAM_SPEC_CLASS:
* @pclass: a valid #GParamSpecClass * @pclass: a valid #GParamSpecClass