gstmodule: Check for Py_None when setting a miniobject
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 2 May 2011 19:59:30 +0000 (16:59 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 2 May 2011 20:05:27 +0000 (17:05 -0300)
commit501515522f2f330aefa42882952ad016e16d897d
treef2e43cb8773cfb18fe3b16309d5095a7d6c512b0
parentee0649371461181a0de64f04ee954d98ff090176
gstmodule: Check for Py_None when setting a miniobject

Check if we got a None value before trying to use it as a
PyGstMiniObject.

https://bugzilla.gnome.org/show_bug.cgi?id=649227
gst/gstmodule.c