Program quits correctly
This commit is contained in:
parent
cea2c1296f
commit
46ddac37f5
2 changed files with 15 additions and 3 deletions
|
@ -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 };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue