Re: Gtk::VBox problem in 0.97
- From: Ross McFarland <rwmcfa1 neces com>
- To: Anuradha Ratnaweera <ARatnaweera virtusa com>
- Cc: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Re: Gtk::VBox problem in 0.97
- Date: 08 Sep 2003 07:53:46 -0400
On Mon, 2003-09-08 at 06:40, Anuradha Ratnaweera wrote:
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.
i can verify the behavior, i'm looking into it. i'll reply when if
figure something out.
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
this is as it should be.
-rm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]