Perl/Gtk CVS 19990922 - 2



Hi Lupus,

Another bug or my misunderstanding again?

Calling:
  $widgets->{'dialog-action_area4'} =   
    $widgets->{'Gnome_Messagebox1'}->action_area;

causes
  Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWidget'
  Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'

And then, obviously, 
  while trying to eval '$widgets->{'dialog-action_area4'}->show( );'
  FAILED with Eval error 'Can't call method "show" without a package or 
  object reference at ...

Gnome::Dialog->action_area works for Gnome::Dialogs correctly.

I'm sorry that I can't give you a reason.

Regards, Dermot



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