Fix #3113 by changing the destruction order in the batch queue, so that the accelerator group reference-counted pointer is destructed after the menu to silence the otherwise resulting Gtk+ RTTI warnings.

This commit is contained in:
Adam Reichold
2016-01-26 21:53:36 +01:00
parent 481fdab32c
commit 260e1f808f
2 changed files with 17 additions and 20 deletions

View File

@@ -57,9 +57,8 @@ protected:
Gtk::ImageMenuItem* tail;
Gtk::MenuItem* selall;
Gtk::MenuItem* open;
std::unique_ptr<Gtk::Menu> pmenu;
Glib::RefPtr<Gtk::AccelGroup> pmaccelgroup;
Gtk::Menu pmenu;
BatchQueueListener* listener;