guile-gtk-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnome-canvas-pixbuf: lack of #:parent considered harmful!


From: Andy Wingo
Subject: Re: gnome-canvas-pixbuf: lack of #:parent considered harmful!
Date: Thu, 27 Jan 2005 10:50:37 +0100

Hi Greg,

On Wed, 2005-01-26 at 19:14 -0500, Greg Troxel wrote:
>          (cpixbuf (make <gnome-canvas-pixbuf>))
> 
> And then it blew up with a segfault in the gnome canvas code.
> 
> Adding "#:parent canvas-root" to the initializer made everthing work fine.

Hm. Well, all of the (make <foo>) constructs use g_object_new() to
create the object; the #:bar keyword args set gobject properties on the
object. In this case, it means that <gnome-canvas-pixbuf> is buggy. Not
surprising -- gnome-canvas is in a bit of an orphaned state right now
(upstream).

So for now, you did the right thing. If you still want to get this fixed
so it doesn't crash, you'll need to send a patch to gnome-canvas
upstream.

Cheers,
-- 
Andy Wingo
http://wingolog.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]