Fix warnings.

This commit is contained in:
David Robillard 2014-12-25 13:50:00 -05:00
parent 129cc4689a
commit 6b1c171dc2
1 changed files with 1 additions and 2 deletions

View File

@ -121,7 +121,7 @@ dump_view_tree (NSView* view, int depth)
}
}
- (void)auViewResized:(NSNotification *)notification;
- (void)auViewResized:(NSNotification *)notification
{
(void) notification; // stop complaints about unusued argument
plugin_ui->cocoa_view_resized();
@ -430,7 +430,6 @@ AUPluginUI::create_cocoa_view ()
void
AUPluginUI::cocoa_view_resized ()
{
GtkRequisition topsize = top_box.size_request ();
NSWindow* window = get_nswindow ();
NSRect windowFrame= [window frame];
NSRect new_frame = [au_view frame];