This commit is contained in:
Pcornat 2025-01-23 22:08:01 +01:00
commit 21b278d148
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD
2 changed files with 3 additions and 4 deletions

View file

@ -3,5 +3,6 @@
namespace learn_gtkmm4 { namespace learn_gtkmm4 {
HelloWorld::HelloWorld(BaseObjectType *cobject, const Glib::RefPtr<Gtk::Builder> &builder) : HelloWorld::HelloWorld(BaseObjectType *cobject, const Glib::RefPtr<Gtk::Builder> &builder) :
Gtk::ApplicationWindow(cobject), m_builder(builder) {} Gtk::ApplicationWindow(cobject), m_builder(builder) {
} // learn_gtkmm4 }
} // learn_gtkmm4

View file

@ -7,7 +7,6 @@
namespace learn_gtkmm4 { namespace learn_gtkmm4 {
class HelloWorld final : public Gtk::ApplicationWindow { class HelloWorld final : public Gtk::ApplicationWindow {
public: public:
using Gtk::ApplicationWindow::BaseObjectType; using Gtk::ApplicationWindow::BaseObjectType;
@ -19,7 +18,6 @@ namespace learn_gtkmm4 {
protected: protected:
Glib::RefPtr<Gtk::Builder> m_builder; Glib::RefPtr<Gtk::Builder> m_builder;
}; };
} // learn_gtkmm4 } // learn_gtkmm4
#endif //LEARNGTK4_HELLO_WORLD_HPP #endif //LEARNGTK4_HELLO_WORLD_HPP