summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-05-20 02:19:24 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-05-20 02:19:24 +0000
commit8ec4653aa324f0426ee8aabb8710f6e96b30ca6b (patch)
treeaf572b633d6981b9fd801e7cfc6bb74dcb130257
parent8730620fed4576c732c8818625861ad515fa3eb6 (diff)
drop some debug output
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7125 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/au_pluginui.mm16
1 files changed, 1 insertions, 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 ();