summaryrefslogtreecommitdiff
path: root/pygobject.h
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2000-07-03 05:59:49 +0000
committerJames Henstridge <jamesh@src.gnome.org>2000-07-03 05:59:49 +0000
commitf3b182f85eb6c27cf8114f5f4d797c6a28427a09 (patch)
treed87dbfd097dafdcf81da5767197ec6eca09fd3f4 /pygobject.h
parentae90e00cd9004bbe6b1fa9167004e85c5bb8fac9 (diff)
downloadpygtk-f3b182f85eb6c27cf8114f5f4d797c6a28427a09.tar.gz
call the correct ExtensionClass check macro.
2000-07-03 James Henstridge <james@daa.com.au> * pygobject.h (pygobject_check): call the correct ExtensionClass check macro. * codegen/codegen.py (consttmpl): use pygobject_register_wrapper. (getattrtmpl): make the getattr function raise an exception on unhandled attributes. I will use a tp_getattro function to bind all the getattr functions of base classes together.
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,