922
922
model = gtk_tree_view_get_model(GTK_TREE_VIEW(list_view));
923
923
/* ...and go through it with a foreach */
924
924
gtk_tree_model_foreach(model, (GtkTreeModelForeachFunc)save_to_file_foreach, (gpointer)root);
925
927
/* save the actual file */
928
xmlSaveFormatFileEnc(filename, doc, "utf-8", 1);