Re: Problem with global destruction
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-perl-list gnome org
- Subject: Re: Problem with global destruction
- Date: Mon, 19 Mar 2007 17:27:56 +0000
On Mon, 2007-03-19 at 17:23 +0000, Emmanuele Bassi wrote:
try adding a FINALIZE method in your Gtk2::ScrolledWindow subclass, and
explicitely remove the image:
sub FINALIZE {
my ($self) = @_;
warn "Inside finalize\n";
$self->remove($self->{image});
delete $self->{image}; # this should not be needed
}
sorry, it's FINALIZE_INSTANCE. too much coding in C. :-)
ciao,
Emmanuele.
--
Emmanuele Bassi, E: ebassi gmail com
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]