Crash gnome-2

Tony Watts tjawatts at totalise.co.uk
Tue Sep 9 02:51:02 CDT 2003


Hi

I get the following error when selecting the accounts to include from 
the druid.

** ERROR **: file gnc-tree-model-account.c: line 1172 
(gnc_tree_model_account_set_root): should not be reached

David's comments says
/*
  * DRH - THIS FUNCTION SHOULD BE REMOVED.
  *
  * This function is from before the account tree view existed.  This
  * functionality should migrate there.
  */

A quick grep gives these places where this function is still called. Is 
there a replacement function already? If so I can fix it.

Tony

gnucash/src/gnome/druid-hierarchy.c:535: 
gnc_tree_model_account_set_root (GNC_TREE_MODEL_ACCOUNT 
(gtk_tree_view_get_model (tree_view)),
gnucash/src/gnome/druid-hierarchy.c:540: 
gnc_tree_model_account_set_root (GNC_TREE_MODEL_ACCOUNT 
(gtk_tree_view_get_model (tree_view)),
gnucash/src/gnome/druid-hierarchy.c:921: 
gnc_tree_model_account_set_root (GNC_TREE_MODEL_ACCOUNT (model), NULL);
gnucash/src/gnome/druid-hierarchy.c:925: 
gnc_tree_model_account_set_root (GNC_TREE_MODEL_ACCOUNT (model), 
our_final_group);



More information about the gnucash-devel mailing list