[BUG] one cannot add widgets to notebooks (regression against gtk2-perl)

Gtk2::Notebook->append_page does not accept any other widgets that the
abstract base type Gtk2::Widget :

                                                                  gtkset_border_width($summary, 40),
                                                                  50, 50),

makes it exit with:

Uncaught exception from user code:
        variable is not of type Gtk2::Widget at /pub/cvs/mdk/soft/control-center/control-center line 416.
Use of uninitialized value in subroutine entry at /usr/lib/libDrakX/c.pm line 10.

the return value of create_scrolled_window being

i also tested scolled window (return value being

i did not test other widgets.

there's a bug in the type checking system there...

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