summaryrefslogtreecommitdiffstats
path: root/gobject/pygobject.h
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2000-11-09 10:06:00 +0000
committerJames Henstridge <jamesh@src.gnome.org>2000-11-09 10:06:00 +0000
commit5e9e2566e8e4bd1bb611a7409478abde7bd98f9c (patch)
tree3a129c9c5dcdd58e27d65c2fbe5fc895317f3ecd /gobject/pygobject.h
parent3bb84f9f11b80b2fe50a1a7496df929d04fc5d3d (diff)
downloadpygobject-5e9e2566e8e4bd1bb611a7409478abde7bd98f9c.tar.gz
pygobject-5e9e2566e8e4bd1bb611a7409478abde7bd98f9c.tar.xz
pygobject-5e9e2566e8e4bd1bb611a7409478abde7bd98f9c.zip
change code generator to pass bases in as a tuple rather than a single
2000-11-09 James Henstridge <james@daa.com.au> * codegen/codegen.py (write_source): change code generator to pass bases in as a tuple rather than a single PyExtensionClass structure. * pygobject.h: change prototype. * gobjectmodule.c (pygobject_register_class): allow for registerin a type with multiple base classes.
Diffstat (limited to 'gobject/pygobject.h')
-rw-r--r--gobject/pygobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h
index 8823514..2e0a7d7 100644
--- a/gobject/pygobject.h
+++ b/gobject/pygobject.h
@@ -20,7 +20,7 @@ typedef struct {
struct _PyGObject_Functions {
void (* register_class)(PyObject *dict, const gchar *class_name,
- PyExtensionClass *ec, PyExtensionClass *parent);
+ PyExtensionClass *ec, PyObject *bases);
void (* register_wrapper)(PyObject *self);
PyExtensionClass *(* lookup_class)(GType type);
PyObject *(* new)(GObject *obj);