Implement TreeModel signal "rows-reordered"



Hi,
the TreeModel signal "rows-reordered" has the problem
that it has a gint* parameter which points to a vector
of reordered indexes. The generic signal marshaller
cannot cope with this since it doesn't know the length
of the vector (it's the number of children of the
node given by the treepath or treeiter parameter).
Here's a custom marshaller to convert the gint*
into an array ref (was against Gtk2 1.024, but applies 
cleanly to 1.020).

Cheers, Roderich

Attachment: gtk2-perl.patch
Description: Text Data



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