Program quits correctly

This commit is contained in:
Pcornat 2024-10-29 18:00:04 +01:00
parent cea2c1296f
commit 46ddac37f5
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD
2 changed files with 15 additions and 3 deletions

View file

@ -1,7 +1,8 @@
#ifndef LEARNGTK4_APP_WIN_2_BACK_HPP
#define LEARNGTK4_APP_WIN_2_BACK_HPP
#include <gtkmm.h>
#include <gtkmm/application.h>
#include <glibmm/refptr.h>
namespace learn_gtkmm4 {
class HelloWorld;
@ -23,6 +24,8 @@ namespace gui_to_app {
void on_activate() final;
private:
void on_quit();
learn_gtkmm4::HelloWorld *main_window{ nullptr };
};