From: Edward Hervey Date: Fri, 30 May 2014 10:25:27 +0000 (+0200) Subject: GParamSpec: Use new fundamental instance check X-Git-Tag: 2.41.1~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8595a490f15c702578dc6c08bc182806e02681b;hp=faceb8960bf5a623a1af4ac876c964daa8fbab42;p=platform%2Fupstream%2Fglib.git GParamSpec: Use new fundamental instance check https://bugzilla.gnome.org/show_bug.cgi?id=730984 --- diff --git a/gobject/gparam.h b/gobject/gparam.h index ed598de..fb21f7b 100644 --- a/gobject/gparam.h +++ b/gobject/gparam.h @@ -50,7 +50,7 @@ G_BEGIN_DECLS * Checks whether @pspec "is a" valid #GParamSpec structure of type %G_TYPE_PARAM * 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: * @pclass: a valid #GParamSpecClass