@LiquidCake commented on this pull request.
+{
+ gint i, max = gtk_notebook_get_n_pages(GTK_NOTEBOOK(geany->main_widgets->notebook)); + + for (i = 0; i < max; i++) + { + GeanyDocument *doc = document_get_from_page(i); + + if (doc->real_path != NULL && is_temp_saved_file(doc->file_name)) + { + document_save_file(doc, FALSE); + } + } + + return TRUE; +} +
fixed