summaryrefslogtreecommitdiff
path: root/pygobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'pygobject.h')
-rw-r--r--pygobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygobject.h b/pygobject.h
index 820b1144..29da36b1 100644
--- a/pygobject.h
+++ b/pygobject.h
@@ -16,7 +16,7 @@ typedef struct {
} PyGObject;
#define pygobject_get(v) (((PyGObject *)v)->obj)
-#define pygobject_check(v,base) (ExtensionClassSubclassInstance(v,base))
+#define pygobject_check(v,base) (ExtensionClassSubclassInstance_Check(v,base))
struct _PyGObject_Functions {
void (* register_class)(PyObject *dict, const gchar *class_name,