From 798b96861059e413bb988f38200e830ab4c7bae2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 13 May 2021 10:27:57 -0600 Subject: [PATCH] do not test for gobj() being null when deciding if _size_menu exists This test was added because of confusion about when/where dynamically constructed menus were constructed and deleted. This should be consistent now, and this additional check (on top of _size_menu itself being null) should be unnecessary --- gtk2_ardour/time_axis_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 8d8c6781ff..acee16c85e 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -1358,7 +1358,7 @@ TimeAxisView::get_child_list () const void TimeAxisView::build_size_menu () { - if (_size_menu && _size_menu->gobj ()) { + if (_size_menu) { return; }