Re: Bug in pixbuf->copy ?

2006-04-17 Thread muppet
On Apr 17, 2006, at 9:27 AM, Jaap Karssenberg wrote: It seems that the problem with the copy() function is not recursize (the copies of a copy are not the same) so this works for now. It would help to see your code and hear your explanation of how you know the objects are not distinct copi

Re: custom widgets with glade

2006-04-17 Thread Chas Owens
On 4/15/06, Fabrizio Lanza <[EMAIL PROTECTED]> wrote: > Never mind, I found out: > http://mail.gnome.org/archives/gtk-perl-list/2003-September/msg00242.html I was about to answer, but it appears that my past self had something to say. I would not suggest using the eval from that code, it is prob

Re: Bug in pixbuf->copy ?

2006-04-17 Thread Jaap Karssenberg
P.S. I forgot to name my versions: gtk2 2.8.16 gtk2-perl 1.102 I fixed my problem now by the following work around: I assign a key into the Pixbuf perl object $pixbuf->{_exists} = 1 then when constructing a new one if the copy() function returns an object with this key set I call the c

Bug in pixbuf->copy ?

2006-04-17 Thread Jaap Karssenberg
Hi, Could it be that there is a bug in the "copy" method for the gtk2::Gdk::Pixbug object ? I have the following situation, I use Gtk2::Widget->render_icon to get a "missing-image" icon. But since I want to tread each image as a separate object I want to make a private copy of this pixbuf.

Re: subclassed anti-alias canvas, and disappearing text

2006-04-17 Thread zentara
On Fri, 14 Apr 2006 16:06:15 -0400 zentara <[EMAIL PROTECTED]> wrote: >I've made the code text code, the same as in the Gnome2::Canvas demo. >It works when I use the plain subclassed canvas, but when I use >aa=>1 , I get a slew of errors > >Pango-CRITICAL **: pango_renderer_draw_layout: assertion