GParamSpec: Use new fundamental instance check
authorEdward Hervey <bilboed@bilboed.com>
Fri, 30 May 2014 10:25:27 +0000 (12:25 +0200)
committerRyan Lortie <desrt@desrt.ca>
Sat, 31 May 2014 13:46:21 +0000 (15:46 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=730984

gobject/gparam.h

index ed598de..fb21f7b 100644 (file)
@@ -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