Am Mittwoch, 2. März 2011 schrieb J. Alex Aycinena: > I've re-applied the changes in r20359 with a one line change which I > believe caused the CRIT <gtk> warning: > > CRIT <Gtk> gtk_tree_sortable_set_sort_func: assertion > `sort_column_id >= 0' failed > > The comments in gnc-tree-view.h, "Use GNC_TREE_VIEW_COLUMN_DATA_NONE > if you plan on using a non-model data source for this column" are > wrong and using it caused the problem later in the > "gnc_tree_view_add_text_column" routine when it tries to set up > sorting for the column. So I use GNC_TREE_MODEL_ACCOUNT_COL_TAX_INFO > and then afterwards link it instead to the data function. > > It works properly and generates no warnings.
I can confirm that no warnings did appear after your commit. Hence you probably got the erroneous issue. Feel free to change or extend the erroneous comment in gnc-tree-view.h, though. Best Regards, Christian _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
