summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Pogonyshev <pogonyshev@gmx.net>2008-08-11 20:15:20 +0000
committerPaul Pogonyshev <paulp@src.gnome.org>2008-08-11 20:15:20 +0000
commitbc1a275dedc30f56face403118699ebf9aafa846 (patch)
tree12120a93b4903081958a9287d2da20adec9e8420 /ChangeLog
parent41194973be3d0974521c86f18affa4e53904f10e (diff)
downloadpygobject-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 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1cc6502..a24749b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+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.
+
2008-08-10 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 546120 – make gio.File more Pythonic