on_quit to noexcept
This commit is contained in:
parent
33ba0995fd
commit
14144c9ce4
@ -107,7 +107,7 @@ namespace gui_to_app {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AppWin2Back::on_quit() {
|
void AppWin2Back::on_quit() noexcept {
|
||||||
auto windows = get_windows();
|
auto windows = get_windows();
|
||||||
for (auto *window: windows) {
|
for (auto *window: windows) {
|
||||||
window->set_visible(false);
|
window->set_visible(false);
|
||||||
|
@ -28,7 +28,7 @@ namespace gui_to_app {
|
|||||||
void on_activate() final;
|
void on_activate() final;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void on_quit();
|
void on_quit() noexcept;
|
||||||
|
|
||||||
learn_gtkmm4::HelloWorld *main_window{ nullptr };
|
learn_gtkmm4::HelloWorld *main_window{ nullptr };
|
||||||
Gtk::Switch *sword_switch{ nullptr };
|
Gtk::Switch *sword_switch{ nullptr };
|
||||||
|
Loading…
Reference in New Issue
Block a user