From 15e3c93f0ece846499f952bc42146b8098d3072b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 13 Sep 2007 14:48:00 +0000 Subject: [PATCH] Fix GTK warning. git-svn-id: svn://localhost/ardour2/trunk@2464 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/route_time_axis.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 9fe224b814..9fc1fa924b 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -441,7 +441,7 @@ RouteTimeAxisView::build_automation_action_menu () automation_items.push_back (MenuElem (_("Hide all automation"), mem_fun(*this, &RouteTimeAxisView::hide_all_automation))); - if (subplugin_menu.get_parent()) + if (subplugin_menu.get_attach_widget()) subplugin_menu.detach(); automation_items.push_back (MenuElem (_("Plugins"), subplugin_menu));