Awn

Comment 20 for bug 156697

Revision history for this message
Michal Hruby (mhr3) wrote :

>> I suspect, based upon comments in the previous version of the code that python ref's the pixbuf therefore there is no issue.

Looking at the older code, the function was shooting into it's own leg - first gdk_pixbuf_scale_simple or gdk_pixbuf_flip functions were called (both create new pixbuf and set it's ref count to 1), and then g_object_ref is called - so it alone refs the pixbuf twice, don't blame python.

But OK, maybe most of times applets will be lucky and OS will not SIGSEGV them...