GNOME Bugzilla – Bug 617880
Fix nullable object args
Last modified: 2010-05-23 09:01:17 UTC
.
Created attachment 160420 [details] [review] Fix nullable object args
Review of attachment 160420 [details] [review]: Looks good, but the commit message could be improved. It should say why the change is needed, not what it does.
Just change the commit message to: if None is passed to an interface which takes an object, convert it to NULL * without this patch PyGI treats the None object as a PyGObject and ends up extracting garbage data causing a crash * None's equivalent in C is NULL so we must provide a special case where we marshal the None as NULL
*** Bug 618572 has been marked as a duplicate of this bug. ***
This one fell off my radar, I'm pushing it with J5's comment, thanks!