[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] RCairo: warning: instance variable surface not
From:       Kouhei Sutou <kou () cozmixng ! org>
Date:       2010-12-30 9:38:04
Message-ID: AANLkTimPTJvXiD-ZF7uu-h8507XNdJocKCnKuQi9TGG7 () mail ! gmail ! com
[Download RAW message or body]

Hi,

Sorry for my late response...

2010/12/24 Stefan Salewski <mail@ssalewski.de>:
> I have a Ruby/GTK/Cairo test application:
>
> http://www.ssalewski.de/PetEd-Demo.html.en
> http://www.ssalewski.de/peted.rb
>
> Seems to work fine, but
>
> $ ruby -w peted.rb
>
> gives
>
> peted.rb:207: warning: instance variable surface not initialized
>
>
> 205  def paint
> 206    cr0 = @darea.window.create_cairo_context
> 207    other = cr0.target
> 208    cr0.destroy
>
> I am still new to Ruby and Cairo, so I have not really an idea what is
> wrong.

It's a problem of rcairo and Ruby/GTK+.
Your application isn't wrong.

I'll fix it. Please wait new releases of those packages.


Thanks,
--
kou
--
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic