application: Use gtk_window_present() instead of gtk_widget_show ()

This commit is contained in:
Christopher Davis 2023-01-14 14:43:46 -05:00
parent 2757e94e08
commit 947b2101b2

View file

@ -152,7 +152,7 @@ impl LpApplication {
gio::ActionEntryBuilder::new("new-window")
.activate(|app: &Self, _, _| {
let win = LpWindow::new(app);
win.show();
win.present();
})
.build(),
];
@ -227,7 +227,7 @@ impl LpApplication {
about.set_transient_for(Some(&window));
}
about.show();
about.present();
}
pub fn show_help(&self) {