Re: custom model rows-reordered marshal
- From: muppet <scott asofyet org>
- To: Kevin Ryde <user42 zip com au>
- Cc: gtk-perl-list gnome org
- Subject: Re: custom model rows-reordered marshal
- Date: Mon, 7 Jul 2008 01:00:12 -0400
On Jul 6, 2008, at 8:09 PM, Kevin Ryde wrote:
I wonder if it might be something like
* xs/GtkTreeModel.xs (gtk2perl_tree_model_rows_reordered_marshal):
Call gtk_tree_model_iter_n_children before building the stack, in
case
it's a Perl class and calls out to ITER_N_CHILDREN. This fixes
clobbering of instance and treepath args to a Perl rows-reordered
handler connected on a Perl model.
* t/GtkTreeModelIface.t: Exercise rows-reordered marshalling.
<
reordered
.pl
>
<
customlist
.pl
.reorder
.diff><GtkTreeModel.xs.reorder.diff><GtkTreeModelIface.t.reorder.diff>
While i'm mildly surprised that this happens (suggesting that POPi
doesn't clean up like you'd expect), i think your changes avoid the
issue quite nicely. Torsten?
--
It's all very complicated and would take a scientist to explain it.
-- MST3K
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]