GNOME Bugzilla – Bug 659879
libpeas broken with pygobject 3
Last modified: 2011-09-30 20:25:19 UTC
there is a problem with latest pygobject making it to not call init method of the python objects. Also it is not dealing correctly with Gdk.Event types as we get a warning in gedit saying that it is not able to convert Gdk.EventKey to Gdk.Event.
Created attachment 197300 [details] [review] Revert "Fix refcount bug by not creating python wrapper during gobject init stage" This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
Created attachment 197301 [details] [review] add a floating flag to pygobjects * this allows us to correctly refcount when custom gobjects are instantiated via g_object_new
Created attachment 197302 [details] [review] when checking instances union members are same type as parent * this is so we can support sending Gdk.Event members in place of the Event union into methods * we only support this if the union member has a type of GI_INTERFACE for now
These patches fix the issues. The first two were committed already - woops, I should have gotten release team acks. Requesting release team acks for these three patches so I can roll another tarball.
Everything works as expected with me with these patches. Thanks a lot.
*** Bug 660560 has been marked as a duplicate of this bug. ***
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.