1 parent 30762e5 commit 4704dcbCopy full SHA for 4704dcb
1 file changed
src/application.rs
@@ -117,7 +117,7 @@ impl HieroglyphicApplication {
117
// About
118
let action_about = gio::ActionEntry::builder("about")
119
.activate(|app: &Self, _, _| {
120
- app.show_about_dialog();
+ about::window().present(Some(&app.main_window()));
121
})
122
.build();
123
self.add_action_entries([action_quit, action_about]);
@@ -142,9 +142,6 @@ impl HieroglyphicApplication {
142
}
143
144
145
- fn show_about_dialog(&self) {
146
- about::window().present(Some(&self.main_window()));
147
- }
148
149
fn _backdoor(&self) {
150
// Pretend here is a backdoor. Congratulations, you found it.
0 commit comments