Re: Warnings observed with Gtk2::Spell




Ashwin Ramachandran wrote:

sub display_info1
{
  my $help_textview_1 = ...
  my $spell = Gtk2::Spell->new_attach($help_textview_1);
  my $help_text_buffer = $help_text_view_1->get_buffer();
  $help_text_buffer->signal_connect("changed", \&edit_changed);

 ..  .... Add other widgets here

}

Are you keeping the $spell reference anywhere?  The error messages make it
sound  as if your Gtk2::Spell object and its pieces are disappearing out from
under you.  (Unless it's supposed to be referenced by the textview; i am
speculating, as i haven't used Gtk2::Spell before.)


-- 
muppet <scott at asofyet dot org>




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