GNOME Bugzilla – Bug 619007
[PATCH] correctly handle floating objects
Last modified: 2010-05-22 12:11:37 UTC
This patch registers a sink with pygobject which checks to see if the object being wrapped is a floating object and sink_refs it if it is. This is a temporary fix to the real fix in pygobject: https://bugzilla.gnome.org/show_bug.cgi?id=583909 Once that gets in this patch does not have to be reverted as the pygobject_register_sinkfunc becomes a noop.
Created attachment 161369 [details] [review] [PATCH] correctly handle floating objects in gtk * this is a stopgap so we work with older pygobject libraries * there is a patch at https://bugzilla.gnome.org/show_bug.cgi?id=583909 which adds the correct fix to pygobject * once pygobject accepts the above patch this patch does not need to be reverted because pygobject_register_sinkfunc becomes a noop --- gi/gimodule.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)