From 8ec4653aa324f0426ee8aabb8710f6e96b30ca6b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 20 May 2010 02:19:24 +0000 Subject: drop some debug output git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7125 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/au_pluginui.mm | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/gtk2_ardour/au_pluginui.mm b/gtk2_ardour/au_pluginui.mm index 100f137631..66a66023b4 100644 --- a/gtk2_ardour/au_pluginui.mm +++ b/gtk2_ardour/au_pluginui.mm @@ -87,22 +87,13 @@ static const gchar* _automation_mode_strings[] = { { NSWindow* notification_window = (NSWindow *)[notification object]; - cerr << "KeyNotification Handler\n"; - if (top_level_parent == notification_window || cocoa_parent == notification_window) { - cerr << "\tKeyHandler, top level parent is key: " << ([top_level_parent isKeyWindow] ? "yes" : "no") << endl; - cerr << "\tKeyHandler, cocoa parent is key: " << ([cocoa_parent isKeyWindow] ? "yes" : "no") << endl; - if ([notification_window isKeyWindow]) { - cerr << "\t\tActivating plugin UI\n"; plugin_ui->activate(); } else { - cerr << "\t\tDeActivating plugin UI\n"; plugin_ui->deactivate(); } - } else { - cerr << "\tsome other window become Key (" << notification_window << ") CP is " << cocoa_parent << "\n"; - } + } } - (void)auViewResized:(NSNotification *)notification; @@ -381,8 +372,6 @@ AUPluginUI::create_cocoa_view () prefheight = packFrame.size.height; low_box.set_size_request (prefwidth, prefheight); - cerr << "AU Cocoa plugin PREF view is " << packFrame.size.width << " x " << packFrame.size.height << endl; - return 0; } @@ -390,7 +379,6 @@ void AUPluginUI::cocoa_view_resized () { NSRect packFrame = [au_view frame]; - cerr << "View was resized to " << packFrame.size.width << " x " << packFrame.size.height << endl; } int @@ -550,8 +538,6 @@ AUPluginUI::parent_cocoa_window () return -1; } - cerr << "AU Cocoa plugin view is " << prefwidth << " x " << prefheight << endl; - NSView* view = gdk_quartz_window_get_nsview (get_toplevel()->get_window()->gobj()); GtkRequisition a = top_box.size_request (); -- cgit v1.2.3