Avoid un-closable AboutDialog

This commit is contained in:
Zander Brown 2018-05-31 09:25:47 +01:00 committed by Jordan Petridis
parent 14d72b92cb
commit 2fe612d392

View File

@ -36,5 +36,7 @@ pub fn about_dialog(window: &gtk::Window) {
dialog.set_artists(&["Tobias Bernard"]); dialog.set_artists(&["Tobias Bernard"]);
dialog.set_authors(authors); dialog.set_authors(authors);
dialog.connect_response(|dlg, _| dlg.destroy());
dialog.show(); dialog.show();
} }