Re: Warnings observed with Gtk2::Spell



Hi Muppet,
No, I am not having any references outside the given functions for the spell object.

In fact, due to the errors, I tried detaching the spell from the text view everytime, I came out of those functions. But still observed the crash.

Thanks
Ashwin



On 12/7/06, muppet <scott asofyet org> wrote:

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>

_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list



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