diff options
author | Paul Pogonyshev <pogonyshev@gmx.net> | 2008-08-11 20:15:20 +0000 |
---|---|---|
committer | Paul Pogonyshev <paulp@src.gnome.org> | 2008-08-11 20:15:20 +0000 |
commit | bc1a275dedc30f56face403118699ebf9aafa846 (patch) | |
tree | 12120a93b4903081958a9287d2da20adec9e8420 /codegen/codegen.py | |
parent | 41194973be3d0974521c86f18affa4e53904f10e (diff) | |
download | pygobject-bc1a275dedc30f56face403118699ebf9aafa846.tar.gz pygobject-bc1a275dedc30f56face403118699ebf9aafa846.tar.xz pygobject-bc1a275dedc30f56face403118699ebf9aafa846.zip |
Bug 547104 – improve type wrapper creation
2008-08-11 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 547104 – improve type wrapper creation
* gobject/pygobject.c (pygobject_register_class): Use new
pygobject_inherit_slots() to propagate custom slots in normal
types too.
(pygobject_inherit_slots): New function, break out of
pygobject_new_with_interfaces() and rewrite a bit.
(pygobject_find_slot_for): Add new argument that can forbid
overriding non-NULL slots.
* gio/gicon.override (pygio_do_icon_richcompare): Remove, the code
is now directly in _wrap_g_icon_tp_richcompare().
(_wrap_g_file_icon_tp_richcompare, _wrap_g_file_icon_tp_hash)
(_wrap_g_themed_icon_tp_richcompare, _wrap_g_themed_icon_tp_hash):
Remove, duplicating code in this way is not needed anymore.
svn path=/trunk/; revision=940
Diffstat (limited to 'codegen/codegen.py')
0 files changed, 0 insertions, 0 deletions