Adding a Builder as a field (app_builder)
This commit is contained in:
parent
031445743c
commit
abf68d7ad3
@ -36,7 +36,7 @@ namespace gui_to_app {
|
||||
void AppWin2Back::on_activate() {
|
||||
Application::on_activate();
|
||||
|
||||
const auto app_builder = [this]() -> Glib::RefPtr<Gtk::Builder> {
|
||||
app_builder = [this]() -> Glib::RefPtr<Gtk::Builder> {
|
||||
try {
|
||||
return Gtk::Builder::create_from_file("window_ui.ui");
|
||||
} catch (const std::exception &e) {
|
||||
|
Loading…
Reference in New Issue
Block a user