[pygtk] Passing a GType from C to Python

Gian Mario Tagliaretti gianmt at gnome.org
Sat Jan 2 04:21:40 WST 2010


On Fri, Jan 1, 2010 at 8:02 AM, Darren Hart <darren a dvhart.com> wrote:

Hi Darren,

>     converting gtype (G_TYPE_UINT): 28 to python object
>     Segmentation fault (core dumped)

it's just a guess, I think the problem here is that G_TYPE_UINT is the
type of guint, which at the end it's a typedef to unsigned int, it's
not an object type (GObject, GBoxed, GEnum...), that might be the
problem, I'm not sure btw,

cheers
-- 
Gian Mario Tagliaretti
GNOME Foundation member
gianmt a gnome.org


More information about the pygtk mailing list