Re: GtkImageView



On Mon, 2007-12-10 at 16:16 +0100, Jeffrey Ratcliffe wrote:

t/animview.....NOK 1#     Failed test (t/animview.t at line 13)
#     Tried to use 'Gtk2::AnimView'.
#     Error:  Can't locate Gtk2/AnimView.pm in @INC (@INC contains: ....)

Now Gtk2/AnimView.pm doesn't exist, but AnimView.xs does, containing

MODULE = Gtk2::AnimView  PACKAGE = Gtk2::AnimView  PREFIX = gtk_anim_view_

and should be booted by

GPERL_CALL_BOOT (boot_Gtk2__AnimView);

included in the BOOT: section of ImageView.xs

The error messages seems to indicate that you're trying to use()
Gtk2::AnimView.  That won't work, just like it doesn't work for
Gtk2::Window, ::Button, etc.  Due to the GPERL_CALL_BOOT in
Gtk2::ImageView's BOOT section, use()-ing Gtk2::ImageView should
automatically take care of setting up the Gtk2::AnimView namespace.

-- 
Bye,
-Torsten




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