On Sat, 2008-03-15 at 16:08 +0100, Jörn Reder wrote:

> compiling the callback stuff results in warnings/errors I do not fully 
> understand (compiler messages are quoted inline):

Sorry about that.

>   Aosd.xs: In function 'perl_aosd_renderer':
>   Aosd.xs:28: warning: passing argument 2 of 'Perl_sv_2mortal' makes pointer 
> from integer without a cast

Use newSVCairo instead of newSVCairoContext.


>   Aosd.xs: In function 'XS_X11__Aosd_aosd_set_renderer':
>   Aosd.xs:110: error: 'CPerlCallback' undeclared (first use in this function)
>   Aosd.xs:110: error: (Each undeclared identifier is reported only once
>   Aosd.xs:110: error: for each function it appears in.)
>   Aosd.xs:110: error: 'callback' undeclared (first use in this function)

Make it GPerlCallback.  It's defined in Glib's header gperl.h.

-- 
Bye,
-Torsten

_______________________________________________
gtk-perl-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to