894
894
model = gtk_tree_view_get_model(GTK_TREE_VIEW(list_view));
895
895
/* ...and go through it with a foreach */
896
896
gtk_tree_model_foreach(model, (GtkTreeModelForeachFunc)save_to_file_foreach, (gpointer)root);
897
899
/* save the actual file */
900
xmlSaveFormatFileEnc(filename, doc, "utf-8", 1);