Re: pygi: callback funcs and GErrors
- From: Christophe Saout <christophe saout de>
- To: Laszlo Pandy <laszlok2 gmail com>
- Cc: python-hackers-list gnome org
- Subject: Re: pygi: callback funcs and GErrors
- Date: Thu, 24 Feb 2011 08:26:52 +0100
Hi Laszlo,
[sorry for coming back to you so late]
> So if you "return False, None" from the callback, None becomes the
> GError and it is considered set (I guess because None is a Python
> object and not NULL).
Sounds like it, I was wondering.
> Then Pixbuf.save_to_callbackv() sets the GError and returns in
> failure. There is a bug in PyGObject introspection for handling
> cleanup of arrays when a GError is set. I've reported it, until the
> invoke experts decide how best to solve it:
>
> https://bugzilla.gnome.org/show_bug.cgi?id=642708
Thanks for opening a bug, I was not sure if it wasn't my fault. There's
been some activity on this one, plus apparantly a fix/workaround. I'll
have a look.
Thanks a lot!
Christophe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]