We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 407d58d commit 602d290Copy full SHA for 602d290
mainwindow.cpp
@@ -124,7 +124,9 @@ CMainWindow::CMainWindow(const Glib::RefPtr<Gtk::Application>& app) : Gtk::Appli
124
} else {
125
/* without a headerbar, we also need to have a vbox for the classic menu here */
126
cm.view.set_label("View");
127
- cm.view.set_submenu(appmenu);
+ // TODO: this results in Gtk-CRITICALs on quit as appmenu elements are double freed.
128
+ // Is there any way we can set a submenu here without making free of cm.view recursively free appmenu?
129
+ cm.view.set_submenu(appmenu);
130
cm.mbar.append(cm.view);
131
cm.menu_box.pack_start(cm.mbar,Gtk::PACK_SHRINK);
132
cm.menu_box.pack_start(split);
0 commit comments