The following code works well in 0.96, but not in 0.97. my $notebook = Gtk2::Notebook->new(); $vbox = Gtk2::VBox->new(); $notebook->append_page($vbox, "Title"); With 0.97, the error message is variable is not of type Gtk2::Widget at CCat/UI/Main.pm line 62. Didn't have time to figure out where the exact problem is, but a diff on build/gtk2perl.typemap shows the following changes: -GtkVBox * T_GTK_TYPE_VBOX -GtkVBox_ornull * T_GTK_TYPE_VBOX_NULLOK +GtkVBox * T_GPERL_GENERIC_WRAPPER +GtkVBox_ornull * T_GPERL_GENERIC_WRAPPER -T_GTK_TYPE_VBOX - $var = SvGtkVBox($arg); -T_GTK_TYPE_VBOX_NULLOK - $var = SvGtkVBox_ornull($arg); -T_GTK_TYPE_VBOX - $arg = newSVGtkVBox($var); -T_GTK_TYPE_VBOX_NULLOK - $arg = newSVGtkVBox_ornull($var); Anuradha
Attachment:
signature.asc
Description: This is a digitally signed message part