[gtkada] Problem calling Gtk.Tree_Store.Reorder at root level

Emmanuel Briot briot at adacore.com
Fri Sep 21 13:24:06 CEST 2007


On Wednesday 19 September 2007 23:34:39 Damien Carbonne wrote:
>    procedure Reorder
>      (Tree_Store : access Gtk_Tree_Store_Record;
>       Parent     : Gtk_Tree_Iter;
>       New_Order  : Gint_Array);

> I want to reorder root nodes and it fails.
> Everything works fine when Reorder is called on a node that is not at
> the root level.

Indeed, your analysis is correct, and Null_Iter is a valid parameter to this 
function. I have patched GtkAda with the same change that you are suggesting 
(plus added documentation in the specs).

Thanks for the suggestion
regards
Emmanuel



More information about the gtkada mailing list