Niki Kovacs wrote:
> ------------
> An internal exception was thrown!
> The error message was:
> Object " not added to this context at
> /usr/lib/perl5/site_perl/5.8.7/Gtk2/Ex/FormFactory/Widget.pm line 259
> ------------
Ouch, latest changes to Gtk2::Ex::FormFactory lead to this bug. Please
apply the attached patch, which should solve this problem.
Regards,
Jörn
--
.''`. Jörn Reder <joern@xxxxxx>
: :' : http://www.exit1.org/ http://www.zyn.de/
`. `'
`- Debian GNU/Linux -- The power of freedom
Index: lib/Gtk2/Ex/FormFactory/Notebook.pm
===================================================================
RCS file:
/home/cvsroot/Gtk2-Ex-FormFactory/lib/Gtk2/Ex/FormFactory/Notebook.pm,v
retrieving revision 1.8
diff -u -r1.8 Notebook.pm
--- lib/Gtk2/Ex/FormFactory/Notebook.pm 9 Apr 2006 10:40:42 -0000 1.8
+++ lib/Gtk2/Ex/FormFactory/Notebook.pm 14 Apr 2006 12:43:10 -0000
@@ -41,7 +41,8 @@
#-- even if no object is associated with this notebook
#-- yet. This will lead to an exception in Proxy->set_attr
#-- and is prevented here.
- return 1 unless defined $self->get_proxy->get_object;
+ return 1 unless $self->get_object &&
+ defined $self->get_proxy->get_object;
$self->widget_value_changed;
},
);
pgprJ5Y7Gy5wB.pgp
Description: PGP signature
|