diff options
author | James Henstridge <james@daa.com.au> | 2001-11-30 02:18:54 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2001-11-30 02:18:54 +0000 |
commit | e12d01c3cf7a54bbcbda2723113acaf3655c28d2 (patch) | |
tree | 9374c708ef1246124a154ef09a765974c584f068 /examples/signal.py | |
parent | 3b559a4dc0042f35d2aa9a576949df5bb99b0680 (diff) | |
download | pygobject-e12d01c3cf7a54bbcbda2723113acaf3655c28d2.tar.gz pygobject-e12d01c3cf7a54bbcbda2723113acaf3655c28d2.tar.xz pygobject-e12d01c3cf7a54bbcbda2723113acaf3655c28d2.zip |
get rid of class_hash, and store the pointer to the python class with
2001-11-30 James Henstridge <james@daa.com.au>
* gobjectmodule.c (pygobject_register_class): get rid of
class_hash, and store the pointer to the python class with
g_type_set_qdata().
(pygobject_lookup_class): look up python class with
g_type_get_qdata.
(pyg_object_class_init): a class_init function for types defined
in python. The python class is passed as the "class_data"
argument. Currently empty, but will be used to install
eg. get_property and set_property members.
(pyg_type_register): store pointer to class like we do for types
defined in C.
(initgobject): move the quark initialisations above the
registration of GObject.
Diffstat (limited to 'examples/signal.py')
0 files changed, 0 insertions, 0 deletions