[glib] GParamSpec: Use new fundamental instance check



commit f8595a490f15c702578dc6c08bc182806e02681b
Author: Edward Hervey <bilboed bilboed com>
Date:   Fri May 30 12:25:27 2014 +0200

    GParamSpec: Use new fundamental instance check
    
    https://bugzilla.gnome.org/show_bug.cgi?id=730984

 gobject/gparam.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]